Systems for characterizing a vehicle collision

ABSTRACT

Described herein are various techniques, including systems and non-transitory instructions, that, in response to obtaining information regarding a potential collision between a vehicle and an object, obtain data describing the vehicle for a time period extending before and after a time of the potential collision. The system may determine a likelihood that the potential collision is a non-collision event based on the data describing the vehicle by performing one or more assessments. The assessments may include telematics monitor assessment, driver behavior assessment, road surface feature assessment, trip correlation assessment, and/or context assessment. In response to determining that the likelihood indicates that the potential collision is not a non-collision event, the system may trigger one or more actions responding to the potential collision.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims the benefit of U.S. Provisional Application No. 63/145,057, filed Feb. 3, 2021, the entire contents of which are incorporated herein by reference.

BACKGROUND

Some organizations, including commercial enterprises or other organizations, own and/or operate a fleet of vehicles. For example, a commercial enterprise that provides goods or services to customers at customers' homes (e.g., pest control services, or grocery delivery services) may own and/or operate a fleet of vehicles used by employees and/or contractors to travel to the customers' homes.

These organizations often desire to know when one of their vehicles has been involved in a collision, so the organization can respond appropriately and effectively. The organization may want to know promptly that a collision has occurred so it can attempt to contact the employee/contractor who was operating the vehicle and determine whether the employee/contractor, or any other person, has been injured and so that emergency services can be dispatched if needed. The organization may also want to know promptly that a collision has occurred so it can promptly begin investigating the collision and determine whether the organization is likely to incur any liability for the collision and, if so, so that it can begin addressing the collision appropriately.

SUMMARY

The present disclosure relates to techniques for characterizing a vehicle collision. In an embodiment, the techniques provide a computerized method comprising: in response to obtaining information regarding a potential collision between a vehicle and an object: obtaining, for a time period extending before and after a time of the potential collision, data describing the vehicle during the time period; determining, based at least in part on the data describing the vehicle during the time period, a likelihood that the potential collision is a non-collision event; and in response to determining that the likelihood indicates that the potential collision is not a non-collision event, triggering one or more actions responding to the potential collision.

In an embodiment, the techniques provide a system comprising: at least one processor; and at least one storage medium containing program instructions that, when executed by the processor, cause the at least one processor to carry out a method that comprises various operations in response to obtaining information regarding a potential collision between a vehicle and an object. The operations in the method include: obtaining, for a time period extending before and after a time of the potential collision, data describing the vehicle during the time period; determining, based at least in part on the data describing the vehicle during the time period, a likelihood that the potential collision is a non-collision event; and in response to determining that the likelihood indicates that the potential collision is not a non-collision event, triggering one or more actions responding to the potential collision.

In an embodiment, the techniques provide a system comprising: at least one non-transitory computer-readable storage medium containing program instructions that, when executed by at least one processor, will cause the at least one processor to carry out a method comprising various operations. These various operations include: in response to obtaining information regarding a potential collision between a vehicle and an object: obtaining, for a time period extending before and after a time of the potential collision, data describing the vehicle during the time period; determining, based at least in part on the data describing the vehicle during the time period, a likelihood that the potential collision is a non-collision event; and in response to determining that the likelihood indicates that the potential collision is not a non-collision event, triggering one or more actions responding to the potential collision.

The foregoing is a non-limiting summary of the invention, which is defined by the attached claims.

BRIEF DESCRIPTION OF DRAWINGS

The accompanying drawings are not intended to be drawn to scale. In the drawings, each identical or nearly identical component that is illustrated in various figures is represented by a like numeral. For purposes of clarity, not every component may be labeled in every drawing. In the drawings:

FIG. 1 is a schematic diagram of an illustrative system with which some embodiments may operate;

FIGS. 2A-2B illustrate flowcharts of example processes that may be implemented in some embodiments to characterize a collision;

FIG. 3 is a schematic diagram of example operations that may be implemented in some embodiments to characterize a collision;

FIG. 4 is a schematic diagram of example operations that may be implemented in some embodiments to characterize a context of a collision;

FIG. 5A is a flowchart of an example process that may be implemented in some embodiments to merge potential collisions;

FIG. 5B illustrates an example of updating a time period following merging potential collisions according to some embodiments;

FIG. 6 illustrates a flowchart of an example process that may be implemented in some embodiments to process multiple potential collisions;

FIG. 7 illustrates a flowchart of an example pipeline process that may be implemented in some embodiments to process harsh acceleration events;

FIGS. 8 and 9 illustrate flowcharts of example rule-based methods that may be implemented in some embodiments to process acceleration events;

FIG. 10 is a flowchart of a process that may be implemented in some embodiments to characterize a collision using a trained classifier;

FIGS. 11A-11I illustrate examples of machine learning techniques with which some embodiments may operate;

FIG. 12 is a flowchart of a process that may be implemented in some embodiments to train a classifier;

FIGS. 13A-13E show values associated with an illustrative implementation of some techniques described herein; and

FIG. 14 is a block diagram of a computer system with which some embodiments may operate.

DETAILED DESCRIPTION

Described herein are various embodiments of a system that processes information describing movement of a vehicle related to a potential collision to reliably determine whether a collision occurred and/or to determine one or more characteristics of the collision.

Different collisions have different effects on the vehicle(s) and people involved in the collisions and thus may justify different responses. For example, a severe collision may justify involving emergency services while a minor collision may not. A collision in which a first vehicle is struck by a second from the back may suggest fault lies primarily with the driver of the second vehicle, and different responses may be appropriate for the owner or operator of the first vehicle than for the second vehicle. Detecting a potential collision and reliably determining whether the potential collision is likely an actual collision, or determining characteristics of a collision, may aid in determining an appropriate response to the potential collision.

Conventionally, accelerometer data has been used to determine whether a vehicle has experienced a collision. Accelerometer data is used because accelerometers are simple devices to install and use and also because of the relation between acceleration and force, and the conventional understanding that when a vehicle experiences a sudden acceleration/force, this is a sign that the vehicle experienced a collision. In one such conventional approach, accelerometer data is analyzed to derive an acceleration experienced by the accelerometer (and thus potentially by the vehicle) over time and to determine whether the acceleration at any time exceeds a threshold. If the acceleration exceeds the threshold, the vehicle is inferred to have experienced a collision.

The inventors have recognized and appreciated that such conventional approaches were unreliable and limited in the information they were able to provide. Often, the conventional approach suffered from false positives (flagging a collision when there was not a collision) and false negatives (not flagging a collision when there was a collision). The inventors have recognized and appreciated that this lack of reliability is because acceleration alone is not a reliable predictor of whether a collision has occurred. Vehicles or accelerometers may, under normal circumstances, experience accelerations of similar magnitude to accelerations experienced by a vehicle during a collision when there is no actual collision. For example, an accelerometer unit disposed in a passenger cabin of a vehicle may on occasion be accidentally kicked or bumped, and it is difficult to differentiate an acceleration associated with a kick or bump from an acceleration experienced during a collision. In another example, accelerometers on board a vehicle may experience accelerations when there is a door slam, when the vehicle is being loaded (e.g., when objects are being placed in a cargo area of the vehicle), or when the vehicle is being unloaded. In such scenarios, a potential collision may be detected when there is no actual collision.

As another example, an accelerometer unit disposed in a passenger cabin of a vehicle may be loosely mounted and may move while the vehicle is operating, such as by snapping from one position to another when the vehicle is turning. When the unit moves suddenly, the movement may be incorrectly flagged as a collision. As a further example, a large pothole or other road deformity, or other road surface feature (e.g., railway track or other road impediments) may, when struck by a vehicle, cause a large acceleration value that may be difficult to differentiate from acceleration values associated with collisions. Kicks or bumps, and potholes, or other road surface features, may therefore be flagged as a collision, a false positive.

The inventors recognized and appreciated that conventional techniques were limited in the information they were able to leverage to determine whether a collision has occurred. Information about a vehicle before or after a collision is detected has not been used in collision detection, but has instead been used in accident reconstruction, to determine other events that may have caused the collision, or events that happened after the collision. These techniques do not improve unreliable nature of acceleration analysis (discussed in the preceding paragraph), for example, reduce false positive or false negative detection. For example, data obtained subsequent to a collision may be analyzed in a conventional system to determine what happened to the vehicle (e.g., the vehicle has left, the vehicle has blocked the road etc.). These data obtained after the collision is determined to have occurred, however, is not in any way related to determining whether the collision occurred and thus does not improve the false positive or false negative detection.

The inventors recognized and appreciated that other telemetry data describing a vehicle may be used to enhance the reliability of processing of accelerometer data about a potential collision. For example, GPS information, speed information, road condition, vehicle operating condition (including operating condition of instruments or other components installed in a vehicle), or contextual information around the time of the potential collision may all advantageously provide additional information about the potential collision. However, it remains a challenge how these telemetry data may be analyzed to improve the collision detection accuracy. Some of these data may be used in a conventional system as a sole decision factor. For example, GPS data may be used to determine whether a vehicle is off road. If the vehicle is determined to be off road, a determination may be made to indicate that the vehicle experienced an accident. This single-factor approach often does not account for other scenarios. For example, the vehicle could be parked in a parking lot or an unpaved area; the GPS sensor on the vehicle may be improperly operating; or the GPS sensor may generate unreliable data points when an accident occurred. These may result in a false positive or false negative decision about a potential collision.

The inventors further recognized and appreciated that reliably determining whether a collision has occurred and determining information characterizing the collision may be enabled by monitoring movements of a vehicle for a longer period of time around a collision. Conventional approaches focused on an instant in time, which was inferred to be the instant of first impact for a collision. The inventors recognized and appreciated, however, that some collisions may last quite some time, such as for more than a second or even up to 10 seconds. Reviewing movement information for the entirety of the collision may help in characterizing the collision. Beyond that, though, the inventors recognized and appreciated that by reviewing movements of a vehicle from a time starting before a collision and lasting until a time following the collision, the reliability of determining whether a collision occurred and the reliability of characterizing the collision may be increased.

The inventors further recognized and appreciated that reliably determining whether a collision has occurred and determining information characterizing the collision may depend on reliable data points from a telematics monitor installed in a vehicle, as such telematics monitor may provide information that may be used to determine whether the collision occurred and/or to characterize the collision. However, once an accident happens, a telematics monitor may operate improperly. For example, a monitor may become loosely installed and may move in a way that is not directly reflective of movements of the whole vehicles, and thus unreliable acceleration data may be obtained. In another example, acceleration triggers accompanied by an airbag deploying may result in acceleration signals that may be confusable with collision accelerations. As another example, collection of GPS signals to determine location may be less reliable or unavailable after a collision, due to damage to a GPS receiver and/or a location or orientation of a vehicle that limits reception of GPS signals. These difficulties may reduce accuracy of a system in determining whether a potential collision is likely to have been an actual collision.

Accordingly, the inventors have developed new technologies to improve the reliability of collision detection, for example, by reducing a false detection rate. In some embodiments, data describing a vehicle may be analyzed to identify an indication of a potential collision between the vehicle and at least one other object, such as one or more other vehicles or one or more obstacles. Examples of data describing a vehicle may include sensor data from various telematics monitors installed on board a vehicle. For example, the data may include acceleration data from an accelerometer, location information from a GPS sensor, engine diagnostics codes recorded on board the vehicle, operational signals from one or more components (e.g., instruments) of the vehicle (e.g., data or signals output by an airbag controller), data from laser sensors, audio data captured in the vehicle, image/video data from an image capturing device (e.g., a camera) on board the vehicle, and/or other suitable sensor data. Alternatively, and/or additionally, data describing the vehicle may be captured from a sensor not on board the vehicle. For example, image data depicting the vehicle may be obtained from a camera installed off of a road the vehicle was traveling.

The data describing the vehicle may include any information about the operation of the vehicle, the driver of the vehicle, the road the vehicle was traveling, and/or the environment (e.g., street scene) the vehicle was passing by. The data describing the vehicle may be obtained from another device over a communication network, such as from one or more servers (e.g., a “cloud” system). For example, the data that may be obtained from one or more sensors on board the vehicle may be provided from the vehicle to the server(s) or may be downloaded from the server(s). In another example, the image data captured by a camera of the street the vehicle was traveling through may be uploaded to a server that processes data describing the vehicle to determine a likelihood of collision.

Alternatively, and/or additionally, data describing the vehicle may also be generated based, at least in part, on sensor data collected by one or more sensors of the vehicle or sensors installed elsewhere. For example, the speed of a vehicle may be obtained based on calculations performed on GPS data indicating locations of the vehicle over time, by calculating from the GPS data the distance traveled over a period of time. Alternatively, and/or additionally, the speed of a vehicle may be obtained based on one or more sensors or imaging capturing devices installed off of a street the vehicle was passing by. A “pull-over” or stop event, in which a vehicle stops at a given location or “pulls over” to stop not in a road the vehicle was traveling but on a road shoulder, rest area, parking space, or other stopping point adjacent to the road, may be determined from an analysis of speed, acceleration, and/or location of the vehicle over time. Various data described above may be obtained from one or more sensors on board the vehicle and uploaded to a server for processing by, for example, a collision detection facility of the server.

In some embodiments, a potential collision at an instant time during a vehicle's traveling time may be detected. In some examples, acceleration data in one or more axes may be used to detect the potential collision. For example, a potential collision may be detected in response to an abrupt increase in acceleration data or otherwise in response to an acceleration value that exceeds a threshold. The threshold may be an absolute threshold, such as a threshold indicating that the acceleration value by itself is above the threshold, or may be a relative threshold, such as that the acceleration value satisfies some condition with respect to one or more prior acceleration values, such as by being more than a threshold amount above one or more prior acceleration values. In response to obtaining information regarding a potential collision, data describing the vehicle during a time period before and/or after a time associated with the indication of the potential collision may be analyzed to determine a likelihood that the potential collision is a non-collision event. In some examples, a likelihood may be represented by a numeric value that stands for a probability that the potential collision is a non-collision event, e.g., 10%, 20%, 35%, etc. In other examples, a likelihood may be a binary indicator, e.g., collision or non-collision, or 0% and 100%. In other examples, a likelihood may be represented by multiple levels, e.g., “yes,” “no,” “most likely,” “likely,” “less likely,” or “unlikely” etc. If the likelihood indicates that the potential collision is not a non-collision, then the system may trigger one or more actions responding to the potential collision.

Alternatively, and/or additionally, if the likelihood indicates that a potential collision is not a non-collision, then a classification process may be used to classify the data describing the vehicle, such as using a trained classifier. Performing such classifying following a separate determination of the likelihood that the potential collision is a non-collision event may aid in reducing a false detection rate and improve accuracy and reliability of collision detection and collision characterization. In some examples, based on the result of the classification, the data describing the vehicle into at least one of a plurality of classes, each class of the plurality of classes being associated whether the potential collision is a collision. For example, the data describing the vehicle being classified into a class indicative that the potential collision is likely to be a collision. In response to that classification, the one or more actions may be triggered. Additionally, information characterizing the collision may also be obtained from the classification.

In some examples, the analysis of the data describing the vehicle during the time period to determine the likelihood that the potential is a non-collision event may be carried out by checking the data against sets of criteria/criterion that are each related to non-collision events. If, in connection with a potential collision, data describing the vehicle during the time period matches at least one criterion associated with a non-collision event, the system may determine that the potential collision was not a collision and instead was the non-collision event.

For example, the data describing the vehicle may be analyzed to determine whether a telematics monitor that provides at least a portion of the data is improperly operating such that unreliable data are obtained. This may be case if a telematics monitor is improperly mounted in a vehicle, such that the telematics monitor moves during operation of the vehicle. If a series of acceleration values reported during the time period regarding a potential collision, or other data describing the vehicle, matches at least one criterion associated with a loosely-mounted telematics monitor, then a potential collision may be determined to be associated with a loosely-mounted telematics monitor rather than a collision. Such a criterion may be, for example, a pattern of acceleration values that is associated with a movement of a telematics monitor when loosely mounted. Such a criterion may be implemented as, for example, one or more rules to which the data describing the vehicle (e.g., acceleration data or other data) may be compared to determine whether the rule is met. In a case that the rule is met, the potential collision may be determined to be associated with the non-collision event (e.g., the loosely-mounted telematics monitor).

As another example that may be implemented in some embodiments, data describing the vehicle may be analyzed in connection with road surface features to determine whether the vehicle is near a road surface feature (e.g., railway tracks or other road impediments) that is prone to causing acceleration values of the vehicle to be detected as acceleration events. In such case, at least a criterion may be related to whether the vehicle traverses through a road surface feature that is prone to causing such acceleration values. The criterion may be implemented as, for example, one or more rules to which the data describing the vehicle may be compared. For example, a location of the vehicle at a time of an acceleration event may be used to determine whether the location of the vehicle matches a known road surface feature prone to causing the acceleration value of a vehicle traveling therethrough to be detected as an acceleration event. Examples of a match of the locations include a scenario when the closest distance between the location of the vehicle and the known road surface feature is less than a threshold distance. Additionally, acceleration data of the vehicle may be used to determine whether the acceleration data matches an expected acceleration that may result from a matched road surface feature. The determination of the match may be done in a variety of ways, such as by determining whether a set of acceleration values of the vehicle detected over time matches a known pattern of acceleration values that may be known to be caused by the road surface feature. If the acceleration data matches the acceleration expected of the road surface feature, then the criterion related to the road surface feature is determined to be met. Subsequently, the potential collision may be determined to be a non-collision event related to the road feature surface. This may be explained in that the acceleration event that may have resulted in the detection of the potential collision may be caused by the vehicle traversing the road surface feature prone to causing the acceleration event, rather than by a collision.

As another example that may be implemented in some embodiments, at least one criterion may be related to a driver's behavior around the time of the potential collision. The criterion related to driver's behavior may be implemented, for example, as one or more conditions to which the data describing the vehicle around the time of the potential collision may be compared. For example, data describing the vehicle may be analyzed to determine whether the driver's behavior around the time of the potential collision matches any behavior that may match to a non-collision. In some embodiments, frontal images/videos depicting the driver may be analyzed to determine whether the driver's head stays in a central area of the driver seat, and/or whether both of the driver's hands are holding the steering wheel. If one or both of these conditions are met, it may be determined that the potential collision is a non-collision. This may be because, if the potential collision were a collision, it may be unlikely that the driver's behavior would be unchanged from a “normal” behavior and that the driver's heads and/or hands would still be in a same position.

In some embodiments, if the driver's head departs from the central area of the driver seat, and/or at least one of the driver's hands is off the steering wheel, it may be determined that the driver experienced fatigue, or the driver was engaged in some other behavior that may cause distracted driving (e.g., operating a user interface such as texting, radio, navigation system etc.). If it is determined that the driver experienced fatigue or was distracted, then it may be determined the potential collision is likely a collision as the behavior of fatigue or distracted driving may be prone to causing a collision. Alternatively, and/or additionally, if the driver's behavior does not match any of the behavior prone to causing a collision, then it may be determined that the potential collision is likely a non-collision.

As another example that may be implemented in some embodiments, at least one criterion is related to a trip that is being made during the time of travel. Data describing the vehicle and/or additional information about the trip may be analyzed by correlating the data describing the vehicle with the trip information, to determine whether a trip criterion is met. For example, if a detected potential collision is near the beginning of a trip or near the end of a trip (either in time or distance), it may be determined whether a trip criterion related to a likelihood of collision is met. In response to the determination as to whether a trip criterion is met, it may be determined that the potential collision is likely a collision/non-collision event. In some embodiments, an event near the end of a trip (in time or distance) may likely be a collision, and thus, a trip criterion related to a likelihood of collision may be determined to have not been met. In some embodiments, an event that occurs at the beginning of a trip (e.g., soon after the beginning of the trip, in time or distance) may unlikely be a collision, and thus, the trip criterion may be determined to be met.

Alternatively, and/or additionally, other events, such as a door slam, when the vehicle is being loaded, and/or when the vehicle is being unloaded may be detected from the data about the vehicle obtained from the various sensors. For example, a door slam may be detected in response to readings from one or more sensors installed near the vehicle doors. In another example, a vehicle being loaded/unloaded may be detected in response to readings from one or more sensors installed near the vehicle's trunk lid or hatchback. Once these events are detected, it may be determined that the potential collision is likely a non-collision event.

In some embodiments, at least some of the one or more criteria related to non-collision events may each be related to a respective non-collision context around a potential collision. Based on the assessment of the one or more criteria each related to a respective non-collision context of the potential collision, the system may determine whether a potential collision is a non-collision. In some embodiments, metric values (e.g., scores) may be generated for each criterion, and the metric values of various criteria may be combined to generate an overall score, such as a collision score.

In some embodiments, each of the criteria related to a respective non-collision context of the potential collision may be implemented as, for example, one or more conditions each describing a scenario around the time and/or location of the potential collision and are related to the non-collision context. The one or more conditions may each generate a metric value (e.g., a score) indicative of the likelihood of collision or non-collision, if the condition is satisfied.

In some embodiments, a criterion related to a non-collision context may include one or more conditions related to vehicle “pull-over” or vehicle stop around a detected potential collision. For example, in response to determining a potential collision, the data describing the vehicle may be analyzed to assess whether the vehicle experienced a “pull-over” by determining whether the vehicle came to a stop within a certain amount of time and distance and/or stopped in an area outside of a travel lane for vehicles (e.g., side of a road, parking lot, etc.). If the vehicle came to a stop within the time and distance of an identified potential collision, then the likelihood that the potential collision is a non-collision may be low, as the stop may be more likely to be explainable by a driver stopping a vehicle following a collision. A pull-over score may be calculated based on the number of stops the vehicle experienced within the time and distance, the speed of the vehicle, or the distance of the stop.

In some embodiments, a criterion related to a non-collision context may include one or more conditions related to vehicle speed reduction around the time of a detected potential collision. For example, in response to determining a potential collision, the data describing the vehicle may be analyzed to assess whether the vehicle experienced a speed reduction around the time of the potential collision. In some examples, the speed reduction may include a change of speed of the vehicle. The speed reduction may also include a change of speed ratio relative to the speed of the vehicle. Thus, a speed reduction score may be calculated based on the change of speed ratio. In such case, a change of speed in a low-speed driving may result in a significant speed reduction score indicative of a speed reduction that is likely to cause a collision.

In some embodiments, a criterion related to a non-collision context may include one or more conditions related to vehicle's GPS data quality around the time of a detected potential collision. For example, in response to determining a potential collision, the data describing the vehicle may be analyzed to determine whether GPS data for the vehicle around the time of the potential collision is unreliable. One or more conditions associated with such determination of whether GPS data for the vehicle is unreliable may include, for example, a sudden drop of a number of GPS data points collected over time, a change in reception quality of GPS data over time (e.g., sudden drop in the number of available satellites, such as a drop without a corresponding detectable change in position), or other change. A low number of GPS points may be indicative of a potential collision. Thus, a GPS score may be calculated based on the number of GPS data points before, during, and/or after the potential collision, or on a comparison of such numbers of GPS data points, or on another analysis of GPS data quality over time.

In some embodiments, a criterion related to a non-collision context may include one or more conditions related acceleration context of the vehicle around the time of a detected potential collision. For example, in response to determining a potential collision, the data describing the vehicle may be analyzed to assess whether an acceleration context linked to collision existed around the time of the potential collision. In some examples, the acceleration context may be associated with a number of impacts that may be generated based on the acceleration data included in the data describing the vehicle. An acceleration context linked to collision may be determined based on the acceleration magnitude in the horizontal plane, the number of impacts within a time period and the speed of the vehicle. Thus, an acceleration context score may be calculated based on one or more of the acceleration magnitude, the number of impacts and the movement of the vehicle.

In some embodiments, a criterion related to a non-collision context may include one or more conditions related to road-type context of the vehicle around the time of a detected potential collision. In some examples, in response to determining a potential collision, the data describing the vehicle may be analyzed to determine whether the vehicle experienced a stop in a travel lane of a road, particular a stop at a location in the travel lane at which vehicles do not customarily stop. Some type of roads may not typically include vehicle stops in travel lanes. For example, vehicles typically do not suddenly stop in a travel lane of a highway. A decrease in speed followed by a stop in such a travel lane may be indicative of traffic, but a sudden stop may be more indicative of a collision. On other roads, such as roads with traffic lights, stop signs, or other traffic control features, cars may often stop at certain locations in a travel lane (e.g., at an intersection) but may not stop at other locations (e.g., not at intersections). As such, a vehicle experiencing a stop in a travel lane at a location that is not an intersection, including if the stop was associated with a sudden stop, may have been involved in a collision. A vehicle stop score may be calculated based on the type of the road the vehicle is traveling and the duration of vehicle stop, for example.

As described above, the various scores of one or more criteria may be combined to determine an overall metric value, e.g., a collision score that is indicative of the likelihood that the potential collision is non-collision event. For example, the values for the one or more criteria, each related to a respective non-collision event or a respective non-collision context, may each be normalized in the range of [0,1], where “0” indicates unlikely to be an accident and “1” indicates likely to be an accident. The values from the various criteria may be combined in any suitable manner (e.g., multiplied together, added together, weighted average, or any suitable calculation with weighting, etc.) to generate the overall collision score. If the collision score is below a threshold, it may be determined the potential collision is likely a non-collision event. It is also appreciated that values from different criteria may be each assigned a different weight in the combination, where the weights of the scores may be obtained through a training (e.g., machine learning) or empirical data.

In some examples, the one or more conditions associated with a criterion may each be associated with an individual score depending on whether the condition is satisfied. In such a process, a score for a respective criterion of the one or more criteria may also be generated by combining the scores associated the one or more conditions that are associated with the respective criterion. In some examples, the scores of one or more conditions associated with a criterion may be combined (e.g., multiplied, summed, weighted, etc.) to generate a score for the associated criterion. For example, the scores of the one or more conditions may be assigned such that the sum of these scores is in the normalized range of [0, 1].

The inventors recognized and appreciated that machine learning techniques may increase reliability of processing of accelerometer data to determine information about a potential collision. Accordingly, in response to determining that the potential collision is likely a non-collision event, the data describing the vehicle may be further analyzed, using a trained classifier, to determine whether the potential collision is likely to have been an actual collision. As disclosed in the present disclosure, the data describing the vehicle may be obtained from various telematics monitors during a time period extending before and/or after the time of the potential collision.

As discussed above, when analyzing a potential collision, a time period may be defined around the time of the potential collision. In some cases, a second potential collision may be detected within that time period. In some embodiments, the two potential collisions may be analyzed separately. In other embodiments, the second potential collision may be determined to be a part of the first potential collision, and the two potential collisions may be merged. With such a merge, the time period for the first potential collision may be extended to be an updated time period from before the first potential collision to after the second potential collision. With such a merge, for example, a second time period (e.g., of a same length as the first time period around the first potential collision) may be defined around the second potential collision and a combined time period may be determined that extends from a start of the first time period to an end of the second time period. Subsequent to the merging and determination of the updated/extended time period, data describing the vehicle may be obtained during the updated time period and used for the analysis disclosed herein. In a case that a third, fourth, or additional potential collisions are determined within the time period, additional extensions may be made.

While an example has been given of merging in response to detecting second or subsequent potential collisions occurring within (e.g., before the end of) an already-defined time period for analyzing a potential collision, embodiments are not so limited. A different time period may be defined for merging, in some embodiments. For example, if a second potential collision is identified within a threshold time of a first potential collision, merging may be performed, even if the second potential collision is not within the defined analysis time period for the first potential collision.

The various embodiments disclosed herein may be implemented in various configurations. In a non-limiting example, a system, such as a collision detection facility, may be configured to perform operations for detecting and outputting a collision score pertaining to a vehicle. The system may detect one or more potential collisions. For example, acceleration data indicating an acceleration value or values that satisfy a condition (e.g., a value that exceeds a threshold) may be used to detect a potential collision. The system may further filter the detected potential collisions, for example, by removing the false positives in the detected potential collision. Various criteria related to non-collision events, as described in the present disclosure, may be used to determine a likelihood that a potential collision is a non-collision event. If it is determined that the likelihood indicates that the potential collision is a non-collision event, such potential collision may be filtered out and thus removed from the list of potential collisions. Upon obtaining the updated potential collisions, the system may obtain data describing the vehicle for the updated potential collisions.

In some embodiments, for each potential collision of the updated potential collisions, a time period may be determined by extending from before the potential collision to after the potential collision. For each of the potential collisions, the system may determine a collision score indicative of the likelihood of that potential collision being a collision. Various embodiments on generating metric values for one or more criteria related to respective non-collision events are described in the present disclosure. Thus, the system may generate an overall metric value, e.g., a collision score. In some examples, the system may adjust the overall collision score based on whether the vehicle traversed certain road surface feature at the time of the potential collision. For example, if, around the time of the potential collision, it is determined that the vehicle was traversing a road surface feature prone to causing acceleration values of vehicles traveling therethrough to be detected as acceleration events, the system may adjust the overall collision score by lowering the collision score (e.g., setting the collision score to 0) because the detection of the potential collision may likely be caused by the road surface feature the vehicle was traversing rather than a collision. Then, the system may output the collision score or display the collision score to a user.

The techniques described herein may provide advantages over conventional systems in improving the performance of collision detection, e.g., reducing the false positive or false negative rate. For example, by determining the likelihood that a potential collision is a non-collision event, and by using data describing the vehicle in a time period extending from before and/or after the time the potential collision, more data will be used to reliably decrease the number of false positives in collision detection. Further, various data describing the vehicle around the potential collision may be combined in a quantitative manner, e.g., in the form of a collision score, to determine a likelihood of a potential collision being an actual collision or a non-collision. If the collision score is below a threshold, the potential collision may be determined to be a non-collision, which can result in reduced false positives. In such case, the data describing the vehicle or contextual information have been all considered to further improve the performance of collision detection.

In addition, once a determination of the potential collision is analyzed using the various methods described herein and the likelihood that the potential collision is a non-collision indicates that the potential collision is not a non-collision, a portion or a whole of the data describing the vehicle may further be provided to a classifier to determine whether the potential collision is likely to have been actual collision. The application of rules in analyzing the data describing the vehicle to determine whether a potential collision is an actual collision provides advantages in filtering the false positive detection of potential collision and may remove or reduce the need to have such potential collisions analyzed by the classifier. Reducing the number of non-collision event analyzed by the classifier may, in turn, improve the reliability of the classifier and accuracy of collision detection and/or classification. These various techniques, such as the time period that extends surrounding the potential collision, data combination in determining whether a potential collision is likely a non-collision event, and further using the classifier to determine a likelihood of a potential collision being an actual collision, may improve accuracy of collision detection and/or characterization.

Described below are illustrative embodiments of approaches for obtaining and analyzing vehicle information to reliably determine whether a vehicle has experienced a collision and/or one or more characteristics of such a collision. It should be appreciated, however, that the embodiments described below are merely exemplary and that other embodiments are not limited to operating in accordance with the embodiments described below.

FIG. 1 illustrates a computer system with which some embodiments may operate. For example, FIG. 1 includes an organization 100 that may operate a fleet of vehicles 102. The organization 100 may be a commercial enterprise, a government or government agency, a not-for-profit organization, or a non-profit organization, or any other organization. Embodiments are not limited to operating with any particular form of organization, or with formal or informal organizations. Illustrative examples of such an organization include a commercial service that delivers goods and/or services to customers' homes or businesses, a business that rents vehicles, a municipality that operates vehicles within the municipality (e.g., vehicles to perform public works projects, public safety vehicles like police cars, fire trucks, and ambulances, etc.). The vehicles of the fleet 102 may be operated by employees and/or contractors of the organization 100, or by others (e.g., customers of a rental car agency may drive the cars).

The organization 100 may want to be notified promptly when any of the vehicles 102 are involved in a collision. The organization 100 may wish to respond to such a collision by determining whether the driver (e.g., the employee or contractor) or any other person was injured. The organization 100 may also wish to respond to a collision by determining whether the vehicle is still safe to operate, or has been damaged to the point that it should not be operated and another vehicle should be sent to act in the place of the damaged vehicle (e.g., by taking on deliveries that the damaged vehicle was to have made, or otherwise providing service the damaged vehicle was to be operated to perform). Such information might be inferred or determined from an indication of a severity of a collision. More severe collisions may be more likely than less severe collisions to result in injuries or result in vehicles that can no longer be safely operated. Accordingly, if severity of a collision could be determined, the organization 100 may also be able to estimate whether anyone was injured or whether the vehicle can still be safely operated.

The organization 100 may also want to know, when a collision has occurred, the likelihood that it will incur liability for the collision. Fault for different collisions falls with different parties, and the fault may be inferred from a manner in which two vehicles collided. The angle at which a vehicle in the fleet 102 struck or was struck by another object (e.g., another vehicle or obstacle) may thus be indicative of who is at fault for the collision, and may be indicative of whether the organization 100 will incur liability. For example, if a vehicle in the fleet 102 is hit from behind by another vehicle, it may be less likely that the driver of the vehicle in the fleet 102 is at fault and less likely that the organization 102 will incur liability. If the vehicle in the fleet 102 hits another vehicle with its front end, though, it may be more likely the driver of the vehicle in the fleet 102 is at fault and more likely that the organization 102 will incur liability. Accordingly, if angle of impact information can be determined for a vehicle involved in a collision, the organization 100 may be more effectively able to determine who may be at fault and whether it is likely to incur liability.

FIG. 1 also illustrates a collision between two vehicles 104, 106, in which vehicle 104 is being struck from behind by vehicle 106. In this example, vehicle 104 is a member of the fleet 102. Techniques described herein may be used to obtain data describing vehicle 104 (e.g., movement information) and/or additional data describing the driver of the vehicle that may be analyzed to determine whether a collision occurred and to characterize the collision, including by determining a severity of the collision and/or angle of impact on vehicle 104.

In some embodiments, each of the vehicles 104, 106 may be respectively equipped with a telematics monitor 104A, 106A. The telematics monitor 104A, 106A may include a three-axis accelerometer that indicates acceleration of the device over time, which may be indicative of acceleration of the associated vehicle over time. The device 104A, 106A may be equipped to produce an accelerometer value at a set interval, such as multiple times per second (e.g., 100 times per second), once per second, or at another suitable interval. In some embodiments, the telematics monitors 104A, 106A may also be equipped to obtain information from one of the associated vehicles. For example, a telematics monitor 104A, 106A may be equipped to connect to an OBD port of an associated vehicle and obtain information from an ECU or OBD system of the vehicle. Such information may include fault messages generated by the ECU or OBD system, or messages indicating a state of components of the vehicle, such as messages indicating whether an air bag has deployed.

A collision detection facility may be implemented as executable instructions and may analyze information generated or obtained by a telematics monitor 104A, 106A. The collision detection facility may analyze the information to determine whether a vehicle associated with the telematics monitor 104A, 106A has experienced a collision and, if so, determine one or more characteristics of the collision (e.g., severity, angle of impact).

In some embodiments, the collision detection facility may be implemented in (e.g., stored by and executed by) the telematics monitor 104A, to make such determinations about vehicle 104. In other embodiments, the collision detection facility may be implemented by another device of the vehicle 104, such as a computing device integrated with the vehicle 104 (e.g., the ECU, or a computer of the OBD system), or a computing device disposed in a passenger cabin of the vehicle 104. Such a computing device disposed in the passenger cabin may be a mobile device (e.g., smart phone, tablet, etc.) or personal computer (e.g., laptop computer), or other suitable device. In other embodiments, the collision detection facility may be implemented remote from the vehicle 104. In the embodiment of FIG. 1, for example, the collision detection facility may be implemented in one or more servers 108 located remote from the vehicle 104. For example, the server 108 may be one or more servers operated by a vendor of the telematics monitor 104A, one or more servers operated by the organization 100, operated by a cloud computing platform, or other servers.

In still other embodiments, operations of the collision detection facility described herein may not be implemented wholly in one location or another, but may be split in any suitable manner. As one such example, operations of a collision detection facility to determine whether a collision has occurred may be implemented within the telematics monitor 104A or otherwise local to the vehicle 104, whereas operations to characterize a collision, once it is determined that a collision is likely to have occurred, may be implemented remote from the vehicle 104 in the server(s) 108.

Regardless of where it is implemented, in accordance with some techniques described herein, the collision detection facility of the example of FIG. 1 may detect one or more potential collisions of a vehicle based on the data obtained from one or more telematics monitors. For example, the collision detection facility may detect a potential collision in response to determining an acceleration event indicative of an abrupt increase in the vehicle's acceleration. The collision detection facility may determine a time period around the detected potential collision, for example, extending before and after the potential collision. The collision detection facility may obtain data describing the vehicle during the time period around the potential collision. The collision detection facility may further determine a likelihood that the potential collision is a non-collision.

In some examples, a likelihood may be represented by a numeric value that stands for a probability that the potential collision is a non-collision event, e.g, 10%, 20%, 35%, etc. In other examples, a likelihood may be a binary indicator, e.g., collision or non-collision, or 0% and 100%. In other examples, a likelihood may be represented by multiple values, e.g., “collision,” “likely collision,” “most likely collision,” “likely non-collision,” “most likely non-collision,” or “non-collision.”

If it is determined that the likelihood indicates that the potential collision is a non-collision, the collision detection facility may determine that there is no actual collision. The facility may subsequently display or output the result to a user (or, in some cases, may not display or output the result, if the result is that the potential collision was not a collision or otherwise that there was no collision).

In some embodiments, if it is determined that the likelihood indicates that the potential collision is not a non-collision, the collision detection facility may make use of a trained classifier to further determine whether a collision has occurred and/or to characterize the collision. The trained classifier may have information associated with each of the classes with which it is configured, illustrated in FIG. 1 as data store 108A. That information may be used by the trained classifier to analyze information about the vehicle 104 obtained by the telematics monitor 104A, including movement data or other data, and determine a class that best matches the obtained data.

Each of the classes may be associated with whether or not a collision has occurred and/or, if a collision has occurred, one or more characteristics associated with the collision. For example, classes may be associated with a binary decision of whether a collision occurred or did not occur. As another example, classes may be associated with different levels of likelihood that a collision occurred. As a further example, classes may be additionally or alternatively associated with one or more characteristics of a collision, such as a severity of a collision, different levels of severity of a collision, different angles of impact, or other characteristics of a collision.

In embodiments in which the collision detection facility is implemented remote from the telematics monitor 104A, the telematics monitor 104A may communicate obtained data to the collision detection facility. The telematics monitor 104A may include communication components, such as one or more wireless transceivers. The wireless transceiver(s) may include, for example, components for communicating via a Wireless Wide Area Network (WWAN), such as via a cellular protocol such as the General Packet Radio Service (GPRS), Universal Mobile Telecommunications Service (UMTS), Enhanced Data Rates for GSM Evolution (EDGE), Long-Term Evolution (LTE), or other suitable protocol. In some such embodiments, the telematics monitor 104A may directly communicate with one or more networks outside the vehicle 104 to communicate data to the collision detection facility. In other embodiments, the telematics monitor 104A may communicate to such networks via another device disposed local to the vehicle 104. For example, the vehicle 104 may include communication components for communicating via a WWAN and the telematics monitor 104A may communicate to the vehicle 104 to request that data obtained by the telematics monitor 104A be sent to the collision detection facility. As an example of such an embodiment, the telematics monitor 104A may include components to communicate via a Controller Area Network (CAN) of the vehicle 104 and request that obtained data be transmitted from the vehicle 104. In still other embodiments, the telematics monitor 104A may communicate via a mobile device local to the vehicle 104, such as a mobile device operated by a driver of the vehicle 104. The mobile device may be, for example, a smart phone or tablet computer. In such an embodiment, the telematics monitor 104A may communicate with the mobile device via a Wireless Local Area Network (WLAN) or Wireless Personal Area Network (WPAN), such as any of the IEEE 802.11 protocols or any of the Bluetooth® protocols, to request that obtained data be sent to the collision detection facility.

Together with obtained data describing the vehicle or other information, the telematics monitor 104A may transmit to the collision detection facility one or more identifiers for the vehicle 104 and/or for the telematics monitor 104A, to indicate that the transmitted data relates to the vehicle 104. Embodiments are not limited to operating with a particular form of identifier. In some embodiments, a Vehicle Identification Number (VIN), a license plate number, or other identifier may be used. The collision detection facility may receive this information from a telematics monitor, which may be configured with this information, such as by receiving the information as input when the telematics monitor is installed in the vehicle 104. The collision detection facility may also receive this information when the collision detection facility is executing on a computing device integrated with the vehicle 104 (in which case the facility may obtain the identifier from memory), or when the facility receives data from or via the vehicle 104, in which case one or more components of the vehicle may add the identifier to the information that is sent.

In some embodiments, an identifier or contact information for a driver of the vehicle 104 may be obtained and transmitted. For example, a phone number that may be used to contact the driver of the vehicle 104 may be sent. This may be sent in embodiments in which the collision detection facility is executing or, or receives data from or via, a mobile device of the driver, in which case the mobile device may send data from the telematics monitor 104A together with the phone number. In other embodiments, a driver of the vehicle 104 may “log in” to the telematics monitor 104A or otherwise configure the telematics monitor 104A when first operating the vehicle 104, and as part of that configuration may provide an identifier and/or phone number for the driver.

In some embodiments, location data for the vehicle 104 may also be sent to the collision detection facility. For example, the telematics monitor 104A may include Global Positioning System (GPS) hardware to determine a location of the telematics monitor 104A, or the telematics monitor 104A may obtain from vehicle 104 information describing a location of the vehicle 104. The telematics monitor 104 may also transmit this location information to the collision detection facility.

The collision detection facility, upon analyzing the data and determining one or more classes that likely describe the potential collision, may report the potential collision to the organization 100. For example, the collision detection facility may communicate to one or more servers 110 associated with the organization 100. The server(s) 100 may be associated with a call center or other employee or group of employees tasked with reviewing and potentially responding to collisions or potential collisions. The server 100 may thus be operated by the organization 100 and/or by a service provider that the organization 100 has engaged to monitor and respond to collisions or potential collisions.

The collision detection facility may provide various information to the organization 100 when reporting a collision or potential collision. For example, if the collision detection facility determines one or more characteristics of the potential collision, such as a severity and/or angle of impact for the collision, the characteristic(s) may be sent to the organization 100. In some cases, some of the data obtained by the telematics monitor 104A and sent to the collision detection facility may be sent. For example, if data was obtained from the vehicle 104, such as information indicating whether an air bag was deployed, this information may be sent to the organization 100. The identifier for the vehicle 104 and/or the telematics monitor 104A may be transmitted, so the organization 100 can identify a vehicle to which the report relates. In embodiments in which the collision detection facility receives an identifier or contact information for a driver, the identifier or contact information may also be sent. In embodiments in which location information for the vehicle 104 is received by the collision detection facility, the location information may also be sent to the organization 100.

Upon receipt of a report of a collision or potential collision at the organization 100, the organization 100 may determine whether and how to respond. The response of the organization 100 may be manual and/or automatic, as embodiments are not limited in this respect. In embodiments in which the response of the organization 100 is at least partially automatic, the automatic response may be generated using rules that evaluate information received from the collision detection facility. For example, if a report from a collision detection facility indicates that the vehicle 104 is likely to have experienced a severe collision, and the report includes location information, this information may satisfy conditions associated with triggering dispatch of emergency services to the location, and the server(s) 110 may trigger that dispatch without human intervention, such as by sending location information and/or identifying information to the dispatcher. In other cases, though, a person may review the report from the collision detection facility and determine how to respond. The person may respond by attempting to contact a driver of vehicle 104, such as using received contact information for the driver, to inquire as to health or safety of the driver or others. The person may also contact emergency services and/or roadside assistance services in an area in which the vehicle 104 is located, to request dispatch of emergency services or roadside assistance to the vehicle 104 using the location information and/or identifying or contact information.

Automatically and/or manually carrying out these or other responses may, in some embodiments, include communicating with one or more computing devices 112 associated with one or more service providers, such as emergency services or roadside services.

Communications in the computer system of FIG. 1 may be carried out using one or more wireless and/or wired networks, including the Internet, generally depicted in FIG. 1 as communication network(s) 114. It should be appreciated that the communication network(s) may include any suitable combination of networks operating with any suitable communication media, as embodiments are not limited in this respect.

FIG. 1 illustrated examples of components of a computer system with which some embodiments may operate. Described below in connection with FIGS. 2-13E are examples of implementations of a collision detection facility, including techniques for determining a likelihood that a potential collision is a non-collision event, using a classifier to determine a likelihood that a potential collision has been an actual collision, and training a collision detection facility. These embodiments may operate with a computer system like the one shown in FIG. 1, or with another form of computer system.

FIGS. 2A-2B illustrate flowcharts of example processes that may be implemented in some embodiments to characterize a collision. The processes 200/250 of FIGS. 2A-2B may be implemented in some embodiments by a collision detection facility. For example, the process 200/250 may be implemented local to a vehicle (e.g., in a telematics monitor of FIG. 1) and/or remote from a vehicle. In some embodiments, for example, part of the process 200 of FIG. 2 may be implemented local to a vehicle, such as operations of blocks 202-208 of the process 200, while another part of the process 200 may be implemented from a vehicle, such as operations of blocks 210-212.

In some embodiments, in FIG. 2A, process 200 may begin with the collision detection facility obtaining information regarding a potential collision at block 202. In some examples, block 202 may include the collision detection facility detecting a potential collision at an instant time during a vehicle's traveling time. Acceleration data in one or more axes may be used to detect the potential collision. For example, the facility may obtain, e.g., from the vehicle, acceleration data including acceleration values for the vehicle at one or more times and the facility may detect a potential collision in response to identifying that the acceleration value(s) indicate that the vehicle has experienced at least one acceleration that meets at least one criterion. In some examples, the at least one criterion may include whether the acceleration of the vehicle at the instant time has a value larger than a threshold, such as 1.0 g, 1.5 g, 2.5 g, or other suitable threshold. Thus, in response to determining that the acceleration of the vehicle exceeded a threshold, the facility may detect a potential collision.

In some embodiments, process 200 continues with the facility determining a time period around the detected potential collision, at block 204. For example, the time period may extend before and/or after a time associated with the indication of the potential collision. In a non-limiting example, 15 seconds after the potential collision and 15 seconds before the potential collision may be used. The process 200 may further include the collision detection facility obtaining data describing the vehicle during the time period at block 206. Examples of data describing the vehicle are described in the present disclosure, and the facility may obtain these data from various sources, such as from telematics monitors on board the vehicle, or from one or more servers (e.g., the cloud) through a communication network.

Process 200 may also include the collision detection facility analyzing the data describing the vehicle during the time period of the detected potential collision to determine whether the detected potential collision may be collision or non-collision, at block 208. In some examples, the analysis of the data describing the vehicle during the time period to determine whether the potential collision is a non-collision may be carried out by checking the data against sets of criteria/criterion that are each related to non-collision events. If, in connection with a potential collision, data describing the vehicle during the time period matches at least one criterion associated with a non-collision event, the system may determine that the potential collision was not a collision and instead was the non-collision event. The description of criteria for determining a likelihood that a potential collision is a non-collision event are further described in detail with reference to FIGS. 3-4.

The collision detection facility may check whether the likelihood from block 208 indicates that the potential collision is a non-collision, at block 210. If the analysis from block 208 indicates that the potential collision is not a non-collision event, the process 200 may proceed to the collision detection facility triggering one or more actions responding to the potential collision at block 212. The trigger actions responding to the collision may include notifying an operator of a fleet of vehicles of which the vehicle is a member, notifying roadside assistance, notifying emergency services, attempting to contact a driver of the vehicle, or other actions.

Once the actions are triggered, or, if the likelihood from block 208 indicates that the potential collision is a non-collision event, the process 200 may end, or continue monitoring in block 202, with either monitoring the vehicle that experienced the collision or monitoring other vehicles.

In some embodiments, the likelihood determined from block 208 may be a binary indicator that indicates whether the potential collision is a collision, or is a non-collision event. In other embodiments, the result from block 208 may be a metric, e.g., a value indicating a probability that the potential collision is a collision or non-collision event. In such a process, the facility, at block 210, may determine that the likelihood indicates that the potential collision is likely a collision if the result from block 208 satisfies one or more criteria, such as whether the result exceeds a threshold value. In another example, if the likelihood determined from block 208 is represented by a binary value (e.g., “collision”/“no-collision), then the facility at block 210 may determine whether the potential collision is a collision or a non-collision event based on the result from block 208. In other examples, the likelihood determined from block 208 may have multiple values, e.g., “collision,” “most likely collision,” “likely collision,” “likely non-collision,” “most likely non-collision,” or “non-collision.”

Process 250 depicted in FIG. 2B has similarities to process 200 in FIG. 2A, and includes use of a trained classifier to further determine whether a potential collision is a collision. With references to FIGS. 2A and 2B, blocks 252-258 may be performed by a collision detection facility in a manner similar to blocks 202-208, respectively. For ease of description, the descriptions of these blocks will not be repeated.

With reference to FIG. 2B, at block 260 the collision detection facility may check the result from block 258. If the result from block 258 indicates that the potential collision is a non-collision event, then process 250 may proceed to end, or the facility continuing monitoring in block 252, with either monitoring the vehicle that experienced the collision or monitoring other vehicles.

If, however, the result from block 258 indicates that the potential collision is not a non-collision at block 260, the facility may proceed to block 262 to analyze the data describing the vehicle with a trained classifier. Examples of such a trained classifier and the training thereof are described in detail in FIGS. 10-13E.

Based on the result of the classification at block 262, the data describing the vehicle may be classified into at least one of a plurality of classes, each class of the plurality of classes being associated with whether the potential collision is a collision. For example, the data describing the vehicle may be classified into a class indicative that the potential collision is likely to be a collision, or that the potential collision is likely to be a non-collision. Thus, at block 264, the facility may check the classification result. If the classification result indicates that the potential collision is likely a collision, then process 250 may proceed to the collision detection facility triggering actions responding to the collision at block 266, which may be performed in a manner similar to block 212 (FIG. 2A). If the classification result indicates that the potential collision is likely a non-collision, process 250 may proceed to end, or continue monitoring in block 252, with either monitoring the vehicle that experienced the collision or monitoring other vehicles.

As shown in FIG. 2B, performing such classification at block 262 following a separate determination of whether a potential collision may be a collision or non-collision event at block 258 may aid in reducing false positives before providing data to the trained classifier. The false positives may be reduced by filtering out in block 258 such non-collision events that could trigger potential false positives, prior to provision of event data to the classifier. Such techniques may improve the accuracy and reliability of collision detection and collision characterization.

FIG. 3 is a schematic diagram of operations that may be implemented in some embodiments to characterize a collision. A collision assessment operation of block 300 may be implemented by the collision detection facility (FIG. 1), including in some embodiments in block 208 of the process 200 of FIG. 2A and/or in block 258 of the process 250 of FIG. 2B. In some embodiments, the collision assessment operation of block 300 may include multiple operations, such as telematics monitor assessment at block 302, road surface feature assessment operation at block 306, driver behavior assessment operation at block 308, trip correlation assessment operation at block 310, and/or context assessment operation at block 312.

By carrying out one or more of these operations of blocks 302-312, a collision detection facility may analyze data describing the vehicle during a time period of a detected potential collision and generate a result that indicates whether the potential collision has been determined to be a collision event and/or a non-collision event. The operations of analyzing the data describing the vehicle during the time period to determine whether the potential collision is a non-collision event may be carried out by checking the data against sets of criteria/criterion that are each related to non-collision events. If, in connection with a potential collision, data describing the vehicle during the time period matches at least one criterion associated with a non-collision event, the collision detection facility may determine that the potential collision was not a collision and instead was a non-collision event.

In some embodiments, the telematics monitor assessment operation at block 302 may be implemented by the collision detection facility to analyze the data describing the vehicle to determine whether a telematics monitor that provides at least a portion of the data is improperly operating such that unreliable data were obtained. This may include a case when a telematics monitor is improperly mounted in a vehicle, such that the telematics monitor moves during operation of the vehicle. If a series of acceleration values reported during the time period regarding a potential collision, or other data describing the vehicle, matches at least one criterion associated with a loosely-mounted telematics monitor, then a potential collision may be determined to be associated with a loosely-mounted telematics monitor rather than a collision. Such a criterion may be, for example, a pattern of acceleration values that is associated with or otherwise produced by a movement of a telematics monitor when loosely mounted. Such a criterion may be implemented as, for example, one or more rules to which the data describing the vehicle (e.g., acceleration data or other data) may be compared to determine whether the rule is met. In a case that the rule is met, the potential collision may be determined to be associated with the non-collision event (e.g., the loosely-mounted telematics monitor).

In a non-limiting example, the pattern of acceleration values that is associated with an improperly operating telematics monitor may include the number of triggers (e.g., acceleration triggers) the telematics monitor has generated during a time length. The inventors have recognized and appreciated that a defective (e.g., loosely-mounted) accelerometer may often generate too many triggers, accordingly, whether the telematics monitor is operating improperly may be determined based on the number of triggers the telematics monitor has generated during the time length. For example, a number of triggers an accelerometer has generated in the past four weeks and/or a daily maximum number of triggers may be determined. If the daily maximum exceeds a threshold (e.g., 6 triggers or other suitable number of triggers), the telematic monitor may be determined to be operating improperly. Similarly, if the number of triggers in the past four weeks exceeds a threshold (e.g., 70 triggers or other suitable number of triggers), the telematic monitor may be determined to be operating improperly.

As another example that may be implemented in some embodiments, the road surface feature assessment operation at block 306 may be implemented by a collision detection facility to analyze the data describing the vehicle in connection with road surface features (e.g., railway tracks or other road impediments) to determine whether the vehicle is near a road surface feature that is prone to causing acceleration values of vehicles traveling therethrough to be detected as acceleration events. In such case, at least a criterion may be related to whether the vehicle traverses through a road surface feature that is prone to causing acceleration events. The criterion may be implemented as, for example, one or more rules to which the data describing the vehicle may be compared. For example, a location of the vehicle may be used to determine whether the location of the vehicle matches a known road surface feature prone to causing acceleration events. Examples of a match of the locations include a scenario when the closest distance between the location of the vehicle and the known road surface feature is less than a threshold distance.

Additionally, acceleration data of the vehicle may be used by the collision detection facility to determine whether the acceleration data for the vehicle during the time period matches an acceleration signal that would be produced by the vehicle striking the road surface feature at the location of the vehicle at the time of the potential collision. If the acceleration data for the vehicle matches an acceleration signal associated with the road surface feature at the location of the vehicle, then it may be determined that the vehicle was traversing the road surface feature around the time of the potential collision. In such case, the criterion related to the road surface feature is determined to be met. Subsequently, the potential collision may be determined to be a non-collision event related to the road feature surface. This may be explained in that the acceleration event that may have resulted in the detection of the potential collision may be caused by the vehicle traversing the road surface feature prone to causing acceleration events, rather than by an actual collision.

As another example that may be implemented in some embodiments, the driver behavior assessment operation 308 may be implemented by a collision detection facility to evaluate at least one criterion related to a driver's behavior around the time of the potential collision. The criterion related to driver's behavior may be implemented, for example, as one or more conditions to which the data describing the vehicle around the time of the potential collision may be compared. For example, data describing the vehicle may be analyzed to determine whether the driver's behavior around the time of the potential collision matches any behavior that matches to a non-collision event. In some embodiments, frontal images/videos depicting the driver may be analyzed to determine whether the driver's head stays in a central area of the driver seat, and/or whether both of the driver's hands are holding the steering wheel. If one or both of these conditions are met, it may be determined that the potential collision a non-collision.

In some embodiments, if the driver's head departs from the central area of the driver seat, and/or at least one of the driver's hands is off the steering wheel, it may be determined that the driver experienced fatigue, or the driver was engaged in some other behavior that may cause distracted driving (e.g., operating a user interface such as texting, radio, navigation system etc.), or that the driver has moved (or been moved) to a different position because of a collision. If it is determined that the driver experienced fatigue or was distracted, or has otherwise moved to a different position, then a likelihood may be generated to indicate that the potential collision is not a non-collision as the behavior of fatigue or distracted driving may be prone to causing a collision. Or, if the driver has moved to a different position after the time of a potential collision, it may be determined that the potential collision is not a non-collision because the position change may result from a collision. Alternatively, and/or additionally, if the driver's behavior does not match any of the behavior that is prone to causing or may result from a collision, then it may be determined that the potential collision is likely a non-collision.

In some embodiments, the time period for obtaining data describing the vehicle and the time period for obtaining data describing the driver may be different. For example, the time period for obtaining data describing the vehicle may be 15 seconds before and after a potential collision. In comparison, the time period for obtaining the driver's behavior may be longer than the time period for obtaining the data describing the vehicle, e.g., 15 minutes before and after a potential collision.

As another example that may be implemented in some embodiments, the trip correlation assessment operation of block 310 may be implemented by a collision detection facility to determine at least a criterion related to trip being made during the time of travel. Data describing the vehicle and/or additionally information about the trip may be analyzed by correlating the data describing the vehicle with the trip information, to determine whether a trip-related criterion is met. For example, if a detected potential collision is near the beginning of a trip (either in time or distance) in which the vehicle is making, it may be determined that a trip criterion related to a likelihood of collision is not met. In another example, if a detected potential collision is near the end of a trip (either in time or distance) in which the vehicle is making, it may be determined that the trip criterion is met. In response to the determination as to whether the trip-related criterion is met, the potential collision may be determined to be a collision/non-collision event. In the above example, if a potential collision is detected within a time threshold or within a distance threshold since the beginning of a trip in which the vehicle is making, it may be determined the potential collision is likely a non-collision event. Conversely, if a potential collision is detected within a time threshold or within a distance threshold before the end of the trip in which the vehicle is making, it may be determined the potential collision is likely a collision event.

In some embodiments, the beginning and end of a trip may be obtained through post-processing of vehicle position data. For example, a time and/or location of the vehicle may be determined to be the end of a trip when the vehicle stops at the location for more than a threshold amount of time such that it appears the driver has reached a destination. In another example, subsequent to an extended stop (e.g., a few hours or overnight), a time and/or location of the vehicle may be determined to be the beginning of a trip when the vehicle starts moving.

As another example that may be implemented in some embodiments, the context assessment operation of block 312 may be implemented by a collision detection facility to determine at least some of the one or more criteria related to collision/non-collision events may each be related to a respective collision/non-collision context of a potential collision. Based on the assessment of the one or more criteria, the system may determine whether a potential collision is a non-collision. In some embodiments, a metric (e.g., scores) may be generated by the collision detection facility for each criterion, and the metric values of various criteria may be combined by the collision detection facility to generate an overall score, such as a collision score. The context assessment operation is further described in detail in FIG. 4.

FIG. 4 is a schematic diagram of an illustrative system that may be implemented in some embodiments to characterize a context of a collision. In some examples, context assessment 400 may be implemented by the collision detection facility in the context assessment operation of block 312 of FIG. 3. In some embodiments, once a potential collision has been identified and data describing the vehicle during a time period has been obtained, the collision detection facility may analyze the data describing the vehicle to assess one or more conditions to determine whether one or more criteria related to collision/non-collision context are met. In some examples, one or more conditions related to context criteria may be associated with contextual information of a potential collision around the time and/or location of the potential collision. Such conditions may be used by the collision detection facility to determine a metric value, e.g., a collision score. If the collision score is below a threshold, it may be determined that the potential collision is likely a non-collision event.

In some examples, context assessment operation of block 400 may include “pull-over” context assessment operation block 402, speed context assessment operation of block 406, GPS quality context assessment operation of block 408, acceleration context assessment operation of block 410, or road-type context assessment operation of block 412. In each of these assessment operations of blocks 402-412, the collision detection facility may analyze the data describing the vehicle in a time period around a potential collision and determine whether one or more criteria related to the potential collision is met. In some examples, in each of the context assessment operations 402-412 the facility may generate a metric value (e.g., a score) indicative of the likelihood of collision or non-collision with respect to a respective context assessment described above.

In some embodiments, the facility may determine with the “pull-over” context assessment operation of block 402 whether the vehicle experienced a pull-over around the time of the potential collision. For example, in response to determining a potential collision, the data describing the vehicle may be analyzed to assess whether the vehicle experienced a “pull-over” by determining whether the vehicle came to a stop within a certain amount of time and distance and/or stopped in an area outside of a travel lane for vehicles (e.g., side of a road, parking lot, etc.). If the vehicle came to a stop within the time and distance of an identified potential collision, and stayed at the stop for more than a threshold period of time, then the likelihood that the potential collision is a non-collision may be low, as the stop may be more likely to be explainable by a driver stopping a vehicle following a collision. On the other hand, if the vehicle made several short stops within a distance, it is likely that the potential collision is a non-collision event.

In the “pull-over” context assessment operation of block 402, one or more conditions may be assessed to determine an assessment score indicative of the likelihood of the potential collision being a collision. For example, the one or more conditions may include whether the vehicle stopped within a threshold time of the time of the potential collision and within a threshold distance of the location of the vehicle at the time of the potential collision. In a non-limiting example, Table 1 lists examples of scores when different conditions are satisfied. The parameters used in calculating the score are shown only as examples, whereas various method may be used to obtain the parameters. For example, the parameters may be obtained empirically or may be obtained via machine learning algorithms.

TABLE 1 Condition Score A “pull-over” event 1.0 is detected and when the vehicle's speed is greater than a threshold (dynamic pullovers) A “pull-over” event 1.0 is detected and when the vehicle's speed is lower than a threshold (static pullovers) Double Pullovers 0.5 + 0.5*negative_slope_map is detected of the first moving group distance from the time of potential collision, mapped between a range of distance (e.g., 500-3000 meters) A short stop followed 0.4 + 0.4*negative_slope_map by 1 moving event is of the first moving group detected distance from the time of potential collision, mapped between a range of distance (e.g., 500-3000 meters) A short stop followed 0.1 by greater than one moving events is detected Vehicle started moving 0 after potential collision Insufficient data −1

In Table 1, a “pull-over” event may be determined if the vehicle came to a stop within a certain amount of time and distance from the potential collision. A detection of one or two “pull-overs” around the time of the potential collision may be indicative of a likelihood of a collision, thus, the score is set to 1.0. On the other hand, if the vehicle moved after the potential collision, or moved more than once after a short stop, the potential collision is likely to be a non-collision, thus, the score is set to a lower value. If the vehicle had double “pull-overs,” then the score may be determined based on the slope of the map. Double pullover is when the vehicle pulls over twice. Detection of double pullovers may capture a scenario where the accident happened in the middle of the road/intersection and the vehicle was stopped or parked for an initial inspection. The vehicle may be asked to pull over again to the side of the road or to the next parking lot nearby for the driver to exchange insurance information with the other party or the police and finish the investigation. Similarly, if the vehicle had a short stop followed by one moving event, the score may be determined in a similar manner with slightly different weights. A short stop is a stop event for a short period of time after which the vehicle moves on with the rest of the trip (e.g., the vehicle stopped at an unusually long stop light or due to traffic congestion). In some scenarios, the system may determine a moving event if the vehicle has moved exceeding a minimal threshold distance, and/or a moving time has exceeded a threshold time.

As shown in Table 1, a slope map value may be used to map the context (or any input value) to a score value between 0 and 1. For example, a positive slope map (shown in Table 2) may be used for values that increase with the likelihood of an accident increasing, whereas a negative slope map may be used for values that increases with the likelihood of an accident decreasing (e.g. the lower the speed after the events, the higher the probability of an accident).

In some embodiments, the slope map value may be obtained from a linear map. A linear map is a discontinuous function that represents a linear approximation of a sigmoid function. In some examples, the linear map may be used to convert an arbitrary input value to a value between 0 and 1. For example, a positive_slope_map (x, min_x, max_x) may be defined using a linear map as below:

$\begin{matrix} {{{= 0.0},{{if}\mspace{14mu}\left( {x\mspace{14mu}\text{<=}\mspace{14mu}{min\_ x}} \right)}}\mspace{430mu}} \\ {{{= 1.0},{{if}\mspace{14mu}\left( {x\mspace{14mu}\text{>=}\mspace{14mu}{max\_ x}} \right)}}\mspace{425mu}} \\ {{= {\left( {x - {min\_ x}} \right)\text{/}\left( {{max\_ x} - {min\_ x}} \right)}},{{{if}\mspace{14mu} x} > {{min\_ x}\mspace{14mu}{and}\mspace{14mu} x} < {{max\_ x}.}}} \end{matrix}$

Similarly, a negative_slope_map (x, min_x, max_x) may be defined using a linear map as below:

$\begin{matrix} {{{= 1.0},{{if}\mspace{14mu}\left( {x\mspace{14mu}\text{<=}\mspace{14mu}{min\_ x}} \right)}}\mspace{439mu}} \\ {{{= 0.0},{{if}\mspace{14mu}\left( {x\mspace{14mu}\text{>=}\mspace{14mu}{max\_ x}} \right)}}\mspace{436mu}} \\ {{= {\left( {{max\_ x} - x} \right)\text{/}\left( {{max\_ x} - {min\_ x}} \right)}},{{if}\mspace{14mu}\left( {x > {{min\_ x}\mspace{14mu}{and}\mspace{14mu} x} < {max\_ x}} \right)}} \end{matrix}$

In the examples above, an input value between the lower and upper bounds (e.g., min_x, max_x) is mapped in a linearly increasing and decreasing manner, for positive and negative slope map, respectively. An input value beyond the lower and upper bounds may be equal to a value at the boundary (0 or 1).

When the negative_slope_map is used in a pullover context, it is hypothesized that the further the distance between the triggered events and the pullover location the less likely it is that the pullover event was caused by the trigger events. In other words, the further the vehicle drives after the trigger, the less likely it is an accident. Thus, the negative slope map is used to provide a measure of the likelihood of the event being an accident based on the distance from the triggered event to the pullover location. The negative slope map may be normalized to provide a maximum context value (or likelihood) of 1 for distances of smaller or equal to a lower threshold (e.g., 500 m or other suitable distance) and a minimum context value (or likelihood) of 0 at a distance of greater or equal to a higher threshold (e.g., 3000 m or other suitable distance). Furthermore, the context score is linearly decreased between these thresholds to provide a linearly decreasing measure of likelihood. As an example, if the distance from the triggered event to the pullover location is 1000 m, the negative slope map may return a metric of a potential accident of 0.8 (or 80%).

Returning to FIG. 4, in some embodiments, in the speed context assessment operation of block 406 the facility may determine whether the vehicle experienced a speed reduction around the time of a potential collision. For example, in response to determining a potential collision, the data describing the vehicle may be analyzed to assess whether one or more conditions related to a speed context are satisfied. In some examples, the one or more conditions may be associated with a speed reduction, which may include a change of speed of the vehicle. The speed reduction may also include a change of speed ratio relative to the speed of the vehicle. In such case, a speed reduction score may be calculated based on the change of speed ratio. A change of speed in a low-speed driving may still result in a significant speed reduction which could indicate a likelihood of collision. Similar to other assessment operations, in the speed context assessment operation 406, an assessment score may be generated based, at least in part, on whether the change of speed, the change of speed ratio, and/or the slop of the road from before to after the potential collision. In a non-limiting example, Table 2 lists examples of scores when different conditions are satisfied. The parameters used in calculating the score are shown only as examples, whereas various method may be used to obtain the parameters. For example, the parameters may be obtained empirically or may be obtained via machine learning algorithms.

TABLE 2 Condition Score No Stop event 0 Speed after potential 0 collision > speed before potential collision Speed before 0 potential collision < T Otherwise 0.6 * positive_slope_map when speed change is in the range of (10, 70) + 0.4 * positive_slope_map when speed change ratio is in the range of (0.4, 0.8) Insufficient data (e.g., −1  speed before or after is unknown)

As will be described with respect to obtaining GPS data points, the speed change ratio may be determined by the ratio of the speed change (from before to after) relative to the speed before the time of the potential collision.

In some embodiments, in the GPS quality context assessment operation of block 408 the facility may determine whether the GPS data for the vehicle around the time of the potential collision is unreliable. In response to determining a potential collision, the data describing the vehicle may be analyzed to assess whether one or more conditions related to GPS data quality are satisfied. For example, in the GPS quality context assessment operation of block 408 the facility may determine whether the number of GPS points within the GPS data for the vehicle during the time period has dropped after the potential collision as compared to the number of GPS points before the potential collision. Additionally, and/or alternatively, a time window in which the available GPS points are obtained after the potential collision is also compared to the time window before the potential collision. If a decrease in a number of GPS data points after the potential collision, and/or the reduction of time window after the potential collision does not satisfy criteria (e.g., is below a threshold), the likelihood of a collision may be high because these low numbers after the potential collision may have resulted from an actual accident.

Similar to other assessment operations in FIG. 4, in the GPS quality context assessment operation of block 408, the collision detection facility may generate an assessment score based on a drop of GPS data points or a reduction of time window for the GPS data points after the potential collision. For example, for a detected potential collision, an assessment score may be generated based on a ratio of the number of GPS data points after the potential collision relative to the number before the potential collision. The assessment score may indicate the likelihood of the potential collision being a collision. In another example, the assessment score may also be generated based on the ratio of the length of window in which GPS data points are available, after the potential collision relative to the length of window before the potential collision. In a non-limiting example, Table 3 lists examples of scores when different conditions are satisfied. The parameters used in calculating the score are shown only as examples, whereas various method may be used to obtain the parameters. For example, the parameters may be obtained empirically or may be obtained via machine learning algorithms.

TABLE 3 Condition Score Otherwise 0.2 * positive_slope_map (PreTriggerGpsPointCount, 15, 20) + 0.4* positive_slope_map(PostToPreTriggerGpsPointCount, 0.07, 0.2) + 0.4* positive_slope_map(PostToPreTriggerTimeAvailable, 0.05, 0.2) Insufficient −1 data (e.g., no pre- trigger GPS points) Speed < T −1

In some embodiments, in the acceleration context assessment operation of block 410 the collision detection facility may determine whether one or more conditions related to an acceleration context are satisfied. For example, one or more conditions may be associated with the acceleration magnitude in the horizontal plane and the number of impacts that occurred over the duration of a data window. Harsh accidents may tend to generate a higher force than the usual false positive event (e.g., bumped devices or speed bumps). A dynamic event (e.g., potential collision, “pull-over,” false positive event, etc.) refers to when the vehicle is moving greater than a threshold speed, e.g., 5 miles per hour. If the vehicle is moving slower than the threshold speed, the event may be a static event. In some examples, a dynamic potential collision may be a false positive if there was only one significant impact as opposed to multiple impacts in a real accident. On the other hand, a trigger that was recorded when the vehicle was stationary, a noisy trigger and often false positive trigger can be filtered out by a high number of recorded impacts.

Similar to other assessment operations in FIG. 4, in the acceleration context assessment operation 408, the facility may generate an assessment score based on whether one or more conditions related to an acceleration context are satisfied. For example, the acceleration data around a potential collision may be analyzed to determine whether the number of impacts from acceleration data for the vehicle during the time period is within a range. The range may depend on whether the vehicle is moving. In response to determining that the number of impacts from the acceleration data for the vehicle during the time period is within the range, an assessment score may be determined based at least in part on an acceleration magnitude feature, wherein the score is indicative of whether the potential collision is likely a collision. The acceleration magnitude feature may be obtained based on an acceleration magnitude in the horizontal plane from the acceleration data for the vehicle during the time period. In a non-limiting example, Table 4 lists examples of scores when different conditions are satisfied. The parameters used in calculating the score are shown only as examples, whereas various method may be used to obtain the parameters. For example, the parameters may be obtained empirically or may be obtained via machine learning algorithms.

Condition Score Vehicle is stationary and 0 NumberOfImpacts > T1 Vehicle is stationary and accel_mag_feature NumberOfImpacts <= T1 Potential collision is dynamic and 0 NumberOfImpacts >= T2 Potential collision is dynamic and 0.5 * accel_mag_feature + 0.5 * NumberOfImpacts > T3 and < T2 num_of_impact_feature Other conditions accel_mag_feature

The accel_mag_feature may be obtained based on acceleration magnitude in the horizontal plane, and num_of_impact_feature may be obtained based on detected number of acceleration impacts that occur over a time duration around the potential collision. The thresholds T1-T3 may be learned through a training process or may be empirical data. For example, T1 may be set to 4, T2 may be set to 20. In other words, when the vehicle is in stationary, if the number of impacts triggered from the acceleration data is below a low threshold, e.g., T1, or above a high threshold, e.g., T2, the potential collision is unlikely to be a collision. When the vehicle is moving, and the number of impacts is above a high threshold, e.g., T2, then the potential collision is unlikely to be a collision. During other situations, the assessment score may be based on the accel_mag_feature and/or num_of_impact_feature.

In some embodiments, the collision detection facility may determine in the road-type context assessment operation of block 412 whether the vehicle experienced a stop around the time of the potential in a travel lane at which vehicles do not customarily stop. In some examples, in response to determining a potential collision, the data describing the vehicle may be analyzed to determine whether the vehicle experienced a stop in a travel lane of a road, particular a stop at a location in the travel lane at which vehicles do not customarily stop. Some types of roads may not typically include vehicle stops in travel lanes. For example, vehicles typically do not suddenly stop in a travel lane of a highway. A decrease in speed followed by a stop in such a travel lane may be indicative of traffic, but a sudden stop may be more indicative of a collision. On other roads, such as roads with traffic lights, stop signs, or other traffic control features, cars may often stop at certain locations in a travel lane (e.g., at an intersection) but may not stop at other locations (e.g., not at intersections). As such, a vehicle experiencing a stop in a travel lane at a location that is not an intersection, including if the stop was associated with a sudden stop, may have been involved in a collision. A vehicle stop score may be calculated based on the type of the road the vehicle is traveling and the duration of vehicle stop, for example.

The one or more conditions may be associated with a location of a stop of the vehicle around the time of the potential collision, and/or a time duration of the stop of the vehicle. For example, the type of the travel lane of the road on which the vehicle was traveling may be determined based on the location of the vehicle stop. If it is determined that a time duration of the stop of the vehicle is above a duration threshold, it may be determined that the vehicle experienced a stop in a travel lane at which vehicles do not customarily stop. The duration threshold may be dependent on the type of the road.

Similar to other assessment operations in FIG. 4, in the road-type context assessment operation of block 408, the collision detection facility may generate an assessment score based on whether one or more conditions related to the road-type context are satisfied. In a non-limiting example, Table 5 lists examples of scores when different conditions are satisfied. The parameters used in calculating the score are shown only as examples, whereas various method may be used to obtain the parameters. For example, the parameters may be obtained empirically or may be obtained via machine learning algorithms.

TABLE 5 Condition Score the road-type of the lane the vehicle is 1 traveling matches a highway road-type, the location of the potential collision lies within an intersection or is on one of the major road types, and a dynamic pullover or double pullover is detected a dynamic pullover or double pullover is 0.8 detected, and the road-type is non-major roads there is a short stop event around the 0.7 potential collision on major roads there was insufficient data or the vehicle 0.6 was stationary before and after the potential collision Other conditions 0

Under these various conditions, the road-type of the lane in which the vehicle is traveling, whether or not the vehicle is moving, whether there is a “pull-over” event, and/or the duration of a stop are considered for a matched road type. For example, under the first condition in Table 5, if the location of the potential collision lies within an intersection or is on one of the major road types, and the pull over label is either dynamic pullover or double pullover, then a score of 1.0 may be assigned, indicating that the potential collision is likely a collision. The reasoning is that these types of pullovers usually do not occur within major road types for a long period of time.

Under the second condition in Table 5, a lower score but high value may be assigned (e.g., 0.8 or other suitable values) if the facility detects a dynamic pull over or double pullover and the road-type is a non-major road. The reasoning is that “pull-overs” may be more common on residential or track road types. Similarly, under the third condition in Table 5, a short stop event around the potential collision on major roads may indicate a likelihood of collision. Thus, a lower score (e.g., 0.7 or other suitable values) may be assigned. Under the fourth condition, a lower score (e.g., 0.6 or other suitable values) may be assigned if there was insufficient data or the vehicle was stationary before and after the potential collision. Such event may indicate a lesser, but still a likelihood of collision. Thus, a lower score (e.g., 0.6 or other suitable values) may be assigned. For all other events, a score of 0 was assigned, indicating that collision may be unlikely.

The collision detection facility may combine the metric values of various context assessment operations 402-412 to generate an overall score. For example, the values from each context assessment operation (e.g., 402-412) may each be normalized in the range of [0,1], where “0” indicates that an accident is unlikely and “1” indicates that an accident is likely. The values from the various context assessment operations (e.g., 402-412) may be multiplied together or otherwise mathematically combined (e.g., added, etc.) to generate the overall collision score. The context assessment scores from 402-412 may be each assigned a weight in the combination.

As discussed above, a time period may be defined around the time of the potential collision, and data describing the vehicle during the time period may be analyzed to determine a likelihood that the potential collision is a non-collision. In some cases, a second potential collision may be detected within that time period, where the second potential collision may be determined to be a part of the first potential collision, and the two potential collisions may be merged. With such a merge, the time period for the first potential collision may be extended to be an updated time period from before the first potential collision to after the second potential collision, and subsequently additional data (in an extended time period) may be obtained and analyzed to determine whether the potential collision is likely a non-collision. The merging operations of multiple potential collisions are described in detail with reference to FIGS. 5A-5B.

FIG. 5A is a flowchart of an example process that may be implemented in some embodiments for a collision detection facility to merge potential collisions. FIG. 5B illustrates an example of updating a time period following a merge if potential collisions according to some embodiments. FIGS. 5A-5B may be implemented in various systems and processes described in FIGS. 1-4, for example, by the collision detection facility (FIG. 1) in connection with block 204 of FIG. 2A, or block 254 of FIG. 2B.

In some embodiments, the process 500 may include determining a first potential collision at block 504. For example, the first potential collision may be detected using various embodiments examples described above, including in connection with FIGS. 1, 2A-2B.

Optionally, in process 500 the collision detection facility may also detect multiple potential collisions. For example, the process 500 may begin with the collision detection facility determining acceleration magnitudes from accelerometer data at block 502 along a time line. At block 504, the collision detection facility may further detect one or more potential collisions, in response to determining that the horizontal acceleration magnitudes exceed a threshold at one or more instances of time. Among the detected potential collisions, the collision detection facility may determine a first potential collision at block 506 and check other potential collisions within a time period from the first potential collision at block 508. For example, additional potential collisions are checked within a threshold time (e.g., 20 seconds, or other suitable time period) of the first potential collision. Once all of the potential collisions within that threshold time of the first potential collision are determined, these potential collisions are merged into one potential collision at block 516. Consequently, the collision detection facility updates the time period at block 518.

A non-limiting example is further illustrated with reference to FIG. 5B. A first potential collision is detected at time T1. Within a time period of T1, a second potential collision is detected at T2. The two potential collisions are then merged, and the time period for the first potential collision is further updated to include an extended time period, which extends from before the time of the first potential collision and after the time of the second potential collision.

Other variations of the merging operation may be possible. For example, instead of searching for other potential collisions with a time period of the first potential collision, once a second potential collision is found in the time period of the first potential collision, the time period is instantly updated and extended to extend after the second potential collision. Subsequently, other potential collisions are searched in the updated time window. The operations of merging potential collisions and updating the time period may be repeated until no other potential collisions are found in the updated time period.

Once potential collisions are merged and the time period is updated, data describing the vehicle and/or additional data describing the driver may be obtained during the updated time period in place of obtaining data during the original, shorter time period. The collision detection facility may then determine whether the potential collision(s) are collisions, based on the data describing the vehicle that is collected across the extended time period.

As previously described, data describing the vehicle may be obtained during the time period of a potential collision. This may be implemented by the facility, in some embodiments, to store various tables containing data describing the vehicle, where the data are obtained from various telematics monitors or generated from the readings of the telematics monitors. Some data are generated along with the detection of potential collisions (e.g., based on acceleration values as previously described), whereas some data are generated using the data previously generated.

In a non-limiting example, once the potential collisions are detected, a HarshTriggers Table is generated for each potential collision. For example, for each potential collision (triggers), the facility may generate latitude/longitude/speed by using triggers with raw GPS data with a window (e.g., a 10 second window, 5 seconds before and after the trigger datetime when a respective potential collision is detected). The facility may calculate the speed by taking an average of all the GPS points. The facility may calculate latitude/longitude by taking the latitude/longitude reading from the closest GPS point to the trigger datatime of the detected potential collision, e.g., TriggerDateTime. The facility may also generate a unique ID for the detected potential collision, e.g., “TriggerId.”

In some embodiments, the facility may further generate two downstream tables related to the detected potential collisions (triggers). These downstream tables may include the vehicle dynamics data of the harsh acceleration event within the trigger window with respect to the events in the HarshTriggers table. For example, the facility may generate a trigger window for GPS data, e.g., HarshTriggerWindowsGps table by taking all triggers from the HarshTriggers table where length of window less than 60 or number of datapoints in a trigger window is less than 60 (other window length or number may also be possible). The facility may use interpolated data to get corresponding GPS data, speed, bearing, and ignition data based on DateTime and HardwareId, to generate the trigger window for GPS data.

In some embodiments, the facility may also generate another downstream trigger window for acceleration data, e.g., HarshTriggerWindowsAcceleration by taking all triggers from HarshTriggers table where length of window less than 60 or number of datapoints in a trigger window is less than 60 (other window length or number may also be possible). The facility may use interpolated acceleration data to get corresponding GPS, speed, X, Y, Z, bearing and ignition data based on DateTime and HardwareId, to generate the trigger window for acceleration data. The interpolated data, such as interpolated GPS data is provided in an interpolated dataset in case the raw GPS data does not include any data points within the trigger window.

In some embodiments, the facility may further generate GPS window features and Acceleration window features based on the HarshTriggerWindowsGps table and HarshTriggerWindowsAcceleration table. For example, the GPS window features are calculated using the upstream HarshTriggerGpsWindow. This contains the following basic statistics of the window: Min, Max, Avg, Std_dev, and percentiles for speed. Further, the facility may generate the follow columns for three different scenarios (total window, before trigger, after trigger):

ActualWindowLength—The actual GPS window length is seconds which is different from the queried length because of infrequent GPS logging;

QueriedWindowLength—The queried window length of GPS points by our query in seconds;

Sampling rate for the above two which states the amount of samples that are obtained per second;

NumberOfValidPoints—number of GPS points obtained in the window which have GPSValid=1; and

NumberOfPoints—total number of GPS points obtained in the window.

The facility may further generate SpeedBeforeWeightedAvg, which is a weighted average using the GPS points that fall between a range of time (e.g., 1 to 11 seconds) before the first trigger datetime (first point where an acceleration event is detected). For example, for a GPS point that is before the first trigger datetime t, a window time the extends from t−Δt/2to t+Δt/2is used.

The facility may further generate SpeedAfterWeightedAvg, which is a weighted average calculated using the GPS points that fall between a range of time (e.g., 1 to 11 seconds) after the first trigger datetime (first point where an acceleration event is detected)

Based on the speed, the facility may further generate SpeedChange, SpeedChangeRatio (ratio of speed before to speed after to determine how much the speed was reduced by), StopEvent (0, if there was no GPS point with Speed<5 in the gps window), PostTriggerTimeToStopEvent (time it took to get a stop event post trigger), PostTriggerDistanceToStopEvent (distance it took to come to a stop event), and QualityLabel.

In some embodiments, this GPS Window features table is used downstream in an operation, such as block 406 (FIG. 4) to calculate a collision score related to speed context.

In some embodiments, the acceleration window features may be calculated using the acceleration data windows provided in the HarshTriggerAccelerationWindow table. This features table contains the following basic statistics and metrics of the event data windows, such as NumberOfImpacts which is based on the impacts extracted from the horizontal acceleration magnitude; MaxAccelMag which is the maximum acceleration magnitude in the horizontal plane; Min, max, ave, std_dev of all acceleration components; and general data quality metrics that are generated for three different scenarios (total data window, points before trigger, and points after trigger). These general data quality metrics may include, for example:

ActualWindowLength—The actual acceleration data window length in seconds which is different from the queried length because of infrequent acceleration data logging;

QueriedWindowLength—The queried data window length of acceleration data points by our query in seconds;

Sampling rate for the above two which states the amount of samples are obtained per second;

NumberOfPoints—total number of acceleration data points obtained in the window; and

ClosestPoint—time difference between trigger in the adjacent acceleration data point (only for before and after scenario).

The facility may further generate QualityLabel which is based on the calculated metrics above, and ActiveWindowLengthAroundTrigger which is the actual data window length of a filtered acceleration signal that removes low activity acceleration readings before and after the trigger.

The listed acceleration features are used in the downstream query to perform operation of acceleration context assessment (e.g., block 410 in FIG. 4).

In obtaining data describing the vehicle, the facility may further generate a trigger window for fault code data for each of the potential collisions. In some embodiments, a downstream table (CorrelateTriggersAndEngineFaults) may be created by using the reduced harsh triggers table with fault code events that fall within a window (e.g., 60 seconds before or after the trigger time, or other window time). This may be implemented by taking all triggers from HarshTriggers table and using the fault codes of the vehicle to get all the correlated fault code events. Examples of fault code may include whether an airbag was deployed or identify the location of impact (frontal, rear, left, and right). The criteria for a fault code to be correlated is that it must fall within a window 60 seconds (other window time may also be possible) before or after a trigger event. The facility may further use the correlated fault codes with other comparison dataset to get the fault description which identifies the type of collision detection fault.

In some embodiments, the fault code data may include engine fault code of the vehicle, and may be obtained from the vehicle's Engine Control Unit (ECU) and/or otherwise available from or via the vehicle's On-Board Diagnostics (OBD) facility (which, as used herein, also refers to an OBD-II system). For example, information indicating multiple engine errors at the same time may be a strong indicator that a collision occurred. Using this as a strong sign that a collision occurred, movement information (e.g., accelerometer and/or speed data) might be analyzed characterize the collision, such as the severity of the collision and/or a direction of impact. As another example, if any of a vehicle's sensors indicated a fault at a time of a potential collision, this may be a sign of damage associated with a collision and indicative that the potential collision was a collision. Movement information may then be analyzed to characterize the collision.

The various data, which describe the vehicle, or any other data that may be used in detecting the potential collisions or determining a likelihood that the potential is a non-collision, may be stored in any suitable format, such as being implemented as metadata, or as data labels. Variations of the embodiments described in FIGS. 2-5B may be implemented by the collision detection facility, with examples shown in FIGS. 6-9.

FIG. 6 illustrates a flowchart of an example process that may be implemented in some embodiments for a collision detection facility to process multiple potential collisions. The example process 600 may be implemented as a system in the collision detection facility (FIG. 1) in connection with various embodiments described in FIGS. 2A-5B, for example. In some embodiments, process 600 may start with the collision detection facility detecting one or more potential collisions at block 602. For example, acceleration data indicating an abrupt increase in acceleration may be used to detect a potential collision.

Optionally, the facility may merge potential collisions and generate an updated time period for the merged potential collision. The description of merging potential collisions and updating the time period are disclosed in the present disclosure, such as in FIGS. 5A-5B.

The process may further include the facility filtering the detected potential collisions to generate updated potential collisions at block 604 by removing the potential collisions that are false positives (or non-collision events). In some examples, removing the false positives may include determining a likelihood that a potential collision is a non-collision event, using various operations described in the present disclosure. If it is determined that the likelihood indicates that the potential collision is a non-collision event, such potential collision may be filtered out, and thus, removed from the list of potential collisions.

For example, removing noisy triggers may include removing those triggers caused by an improperly operating telematics monitor as described in the present disclosure, such as 302 (FIG. 3). Removing the false positives may also include determining “pull-over” events, the operations of which are described in the present disclosure, such as block 402 (FIG. 4). Removing the false positives may also include trip correlation assessment operation, which is described in the present disclosure, such as block 310 (FIG. 3).

With further reference to FIG. 6, process 600 may include the collision detection facility obtaining data describing the vehicle for updated potential collisions at block 606. In some embodiments, block 606 may include the facility determining a time period for each of the updated potential collisions and obtaining data describing the vehicle in the time period of a respective potential collision. The determination of the time period for a potential collision is described in the present disclosure, such as block 204 of FIG. 2A or block 254 of FIG. 2B. For example, for each potential collision, a time period may be determined by extending from before the potential collision to after the potential collision.

With further reference to operation at block 606, in the example process in FIG. 6, in process 600 the collision detection facility may obtain or further generate data describing the vehicle around each of the potential collisions. For example, in process 600 the facility may generate data for the filtered triggers, including, for example, speed, latitude, and longitude that are extracted from the original HarshTriggers table. The facility may also generate RoadType (which can be used for road-type context assessment operation (e.g., block 412 in FIG. 4), for example. RoadType may be generated by using the triggers that have latitude/longitude and spatial reference data, with the criteria being that the road segment must lie within a threshold distance (e.g., 15 meters, or other values) of the trigger point. Then, the triggers may be matched with the closest road such that there is at most one road type matched per trigger. The road type categorization may be used by following OSM guidelines as there are some variations of usage based on country.

In some embodiments, in process 600 the facility may further generate data including TriggerType determined by the speed (which may be dynamic, static, or unknown). For example, if the speed is null, then the TriggerType may be unknown. This may be possible, for example, when no GPS points are available in a threshold window time (e.g., 10 seconds, or other values). If the speed is less than a low threshold speed (e.g., 5 mph, or other values), then it is deemed as a static trigger. Otherwise, it is a dynamic trigger.

In process 600 the facility may further generate TripLabel, PulloverLabel. In some embodiments, the facility may also generate EngineFaultLabel by looking at the correlated engine faults and determining whether or not an airbag has deployed or nearly deployed and how many impact based faults were observed. Once this is determined, data labels may be generated to indicate “Airbag deployed +impact” or “Airbag deployed+multiple impacts” or “Airbag deployed”. If there is no match, the label is classified as unknown.

For each of the potential collisions, the facility may further determine a collision score indicative of the likelihood of that potential collision being a collision at block 610. Various embodiments on generating metric values for one or more criteria related to respective non-collision events are described in the present disclosure, such as in FIGS. 1-4. Thus, the facility may generate an overall metric value, e.g., a collision score at block 610.

As a variation of the various embodiments described in the present disclosure, road type feature assessment operation of block of 306 of FIG. 3 may be used to further adjust the collision score instead of being used to filter out non-collision events from detected potential collision events. For example, at block 612, the facility may determine whether the result from block 610 indicates that the vehicle is near certain road surface feature at the time of the potential collision. Operations of determining road surface feature are described in the present disclosure, such as block 306 of FIG. 3. For example, in block 612 the facility may check whether a potential collision happens near loading bays, railway tracks, expansion joints on the highway etc., where these areas are prone to causing acceleration values of vehicles traveling therethrough to be detected as acceleration events. If it is determined that one or more conditions related to the road surface feature assessment are met, the facility may determine that the vehicle was traveling through the road surface feature. Accordingly, the facility may adjust the collision score at block 614. For example, the facility may lower the collision score (e.g., setting the collision score to 0) because the detection of the potential collision may likely be caused by the road surface feature the vehicle was traversing rather than a collision. Then, the facility may output the collision score or display the collision score to a user at block 616. The facility may repeat operations at blocks 610-616 for each of the potential collisions through operation at block 618, until all of the potential collisions are processed.

FIG. 7 illustrates a flowchart of an example pipeline process that may be implemented in some embodiments to process “harsh” acceleration events, which may be events with a high acceleration that may be a potential collision. In some embodiments, a pipeline process 700 may be implemented in various systems or processes described in the present disclosure, such as by the collision detection facility (FIG. 1) in connection with processes 200 (FIG. 2A), 250 (FIG. 2B), 300 (FIG. 3), 400 (FIG. 4), 500 (FIG. 5A), 600 (FIG. 6), and/or any sub-blocks thereof. The collision detection facility may reduce the amount of potential collision events from a collision detection point of view and to provide a metric of a potential collision for the filtered down events.

In the example of FIG. 7, the filtering is achieved in multiple stages. For example, the trigger events table in Filter Level 0 includes all events triggered by an acceleration threshold which are then reduced down to the harsh triggers table in Filter Level 1 by excluding excessively logging devices. As such, the false positive triggers are reduced. Only after the first reduction of triggers are the detailed driving data extracted and analyzed. Operations of excluding excessively logging devices are described in the present disclosure, such as in block 302 of FIG. 3. The harsh triggers table may contain information that is then used in the second filtering stage and to generate a potential collision score as shown in the flow chart. The result may be an even more filtered down events table (as shown in Filter Level 2) appended with accident metrics and metadata and a collision score. As a result, the two-stage process as shown in FIG. 7 improves efficiency of the pipeline process and the accuracy of the system.

FIGS. 8 and 9 illustrate flowcharts of example rule-based methods that may be implemented in some embodiments to process acceleration events. With reference to FIGS. 8 and 9, process 800 and 900 each may be implemented in various systems or processes described in the present disclosure, such as by the collision detection facility (FIG. 1) in connection with processes 200 (FIG. 2A), 250 (FIG. 2B), 300 (FIG. 3), 400 (FIG. 4), 500 (FIG. 5A), 600 (FIG. 6), or any sub-blocks thereof.

In processes 800 and 900, the collision detection facility may detect potential collisions based on a respective acceleration trigger, validate the detected potential collisions, for example, by analyzing data describing the vehicle against one or more criteria related to non-collision events. With both processes 800 and 900, the facility may generate a metric value by assessing various context, such as acceleration context, “pull-over” context, speed context, and/or location/road-type context. The output metrics value may indicate the likelihood of each potential collision being an actual collision.

Various blocks in processes 800 and 900 may be implemented in any suitable system or process described in the present disclosure. For example, blocks 802/902 may be implemented in the collision detection facility of FIG. 1, such as in connection with block 202 of FIG. 2A, block 252 of FIG. 2B, block 504 of FIG. 5, or block 602 of FIG. 6. Blocks 804/904 of processes 800/900 may be implemented, for example, by a collision detection facility (FIG. 1) in connection with block 208 of FIG. 2A, block 258 of FIG. 2B, block 300 of FIG. 3, block 400 of FIG. 4, or block 604 of FIG. 6. Blocks 806/906 of processes 800/900 may be implemented, for example, by a collision detection facility (FIG. 1) in connection with block 208 of FIG. 2A, block 258 of FIG. 2B, block 300 of FIG. 3, block 400 of FIG. 4, or block 610 of FIG. 6. Various sub-blocks in 806/906 may also be implemented in, for example, blocks 410, 402, 406, or 412 of FIG. 4. Processes 800 and 900 may be performed in a similar manner, except that in process 800 (FIG. 8), 2.5 g may be used as a threshold to detect potential collisions. In process 900 (FIG. 9), 1.5 g may be used instead as a threshold to detect potential collisions. Thus, process 900 may detect more potential collisions related to driving in lower speed. As such, one or more conditions associated with various context-related criteria, such as acceleration context, “pull-over” context, speed context and location/road-type context may vary.

Variations of the embodiments described in FIGS. 2-5B may be implemented by the collision detection facility. For example, in some embodiments previously described, data describing the vehicle during a time period of a potential collision may be analyzed to determine a likelihood that the potential collision is a non-collision. If it is determined that the likelihood indicates that the potential collision is not a non-collision, the data describing the vehicle may further be provided to a classifier to determine the likelihood that the potential collision has been an actual collision. Alternatively, the data describing the vehicle during the time period of the potential collision may be provided to the classifier without first determining the likelihood that the potential collision is a non-collision. Such variation, as well as the classifier that may used in various embodiments, are described in further detail with reference to FIGS. 10-13E.

FIG. 10 illustrates an example of a process that may be implemented by a collision detection facility in some embodiments. The process of FIG. 10 may be implemented local to a vehicle (e.g., in a monitoring device of FIG. 1) and/or remote from a vehicle. In some embodiments, for example, part of the process 1000 of FIG. 2 may be implemented local to a vehicle, such as operations of blocks 1002-1006 of the process 1000, while another part of the process 1000 may be implemented from a vehicle, such as operations of blocks 1008-1012.

The process 1000 begins in block 1002, in which a collision detection facility obtaining information regarding a potential collision.

In some embodiments, the collision detection facility may obtain information regarding a potential collision by monitoring over time a magnitude of total acceleration experienced by an accelerometer of a vehicle and/or of a monitoring device. The total acceleration may be a value derived from acceleration detected by the accelerometer in different axes. For example, in a case that the accelerometer is a three-axis accelerometer, the total acceleration may be derived from computation performed on acceleration experienced in each of the three axes. The three axes may be forward-backward, right-left, and up-down in some cases. In some embodiments, the magnitude of total acceleration may be calculated as the square root of the sum of the squares of the acceleration in different direction. For example, if the acceleration in the forward-backward direction is assigned to “x”, the acceleration in the right-left direction to “y,” and the acceleration in the up-down direction to “z,” the magnitude of the total acceleration may be:

acc_(total)=√{square root over (x ² +y ² +z ²)}

The magnitude of the total acceleration is a scalar value. This value may be used in block 1002 as part of obtaining information on whether the vehicle has experienced an event that may (or may not be) a collision—a potential collision. It is appreciated that other variations of the acceleration magnitude may also be used. For example, a magnitude of horizontal acceleration (in the x direction) may be used.

For example, in some embodiments, if the vehicle experiences a total acceleration at a time that is above a threshold, this may be taken as a sign of a potential collision that is to be further evaluated to determine whether it is a collision or is not a collision. As should be appreciated from the foregoing, acceleration alone is seldom a reliable indicator of a collision, as other events may also be associated with high accelerations, such as a kick or bump of a monitoring device or the vehicle striking a pothole or other road deformity. Accordingly, the magnitude of total acceleration is not taken as a sign of a collision, but rather used as a sign of a potential collision that is to be investigated further.

Thus, in block 1002 in some embodiments, the collision detection facility determines the total acceleration over time, such as at a time interval. That time interval may be, for example, multiple times per second (e.g., 100 times per second), once per second, or other suitable interval, then determines whether the total acceleration at any time exceeds a threshold. If not, the collision detection process ends. In some embodiments, the collision detection facility may return to block 1002 and continue monitoring the total acceleration over time, or otherwise obtaining information on a potential collision.

It should be appreciated, however, that embodiments are not limited to using a threshold to determine whether a potential collision has occurred, as embodiments may obtain information regarding a potential collision in other ways.

For example, in some other embodiments, an indication of a potential collision may be obtained by identifying a total acceleration that is a largest in a time period. When a magnitude of total acceleration at a time exceeds the magnitude of total acceleration of other times, such as other times within a time window surrounding a time being analyzed, that higher total acceleration may be taken as an indication of a potential collision. This may be the case even if the magnitude of acceleration at that time is lower than the magnitude at other times. In such a case, the collision detection facility may use a sliding time window to, over time, analyze acceleration data within the time window to determine magnitude of total acceleration at times within the time window and to determine the highest magnitude in the window. The time of that highest magnitude may then be taken as a time of a potential collision and taken in block 1002 as information regarding a potential collision.

In some other embodiments, rather than the collision detection facility using a sliding time window to identify a maximum total acceleration within the time window, a sliding time window may be used that determines every successive point in time to be an indication of a potential collision. At each time step, a next acceleration sample may be taken as an indication of a potential collision, and taken in block 1002 as information regarding a potential collision.

Once the collision detection facility obtains information regarding a potential collision in block 1002, then in block 1004 the collision detection facility defines a time period that spans a time before and after the time at which the total acceleration exceeded the threshold. The time may be long enough to last before and after a collision, if the time of the potential collision is at the beginning, during, or at the end of a collision. For example, if collisions are determined to last at least three seconds, the time period may be 6 seconds long: three seconds before the time of the potential collision, and three seconds after. If collisions are determined to last at least 5 seconds, the time period may be 10 seconds. The inventors recognized and appreciated that some collisions may last up to 10 seconds, so a time period of 20 seconds may be advantageous. It should be appreciated, though, that embodiments are not limited to being implemented with any particular time period. Further, while in some embodiments the time period may be symmetrically defined around the time from block 1004, in other embodiments the time period may be asymmetrically defined.

In block 1006, the collision detection facility obtains data describing the vehicle during the time period defined in block 1004. The data that is obtained may be movement data describing movements of the vehicle in the time period. The data describing the movements may be acceleration data indicating an acceleration of the vehicle in three axes at intervals (e.g., the same interval that may be used in block 1002 to obtain acceleration data) during the time period. In some embodiments, the acceleration data may also be processed to determine additional information describing movements of the vehicle in the time period. For example, for each set of acceleration data for each interval, a magnitude of total acceleration may be determined, in the same manner that may have been used, in some embodiments, in block 1002. As another example, speed of the vehicle at the interval may be determined. In some embodiments, speed information may be determined from calculations performed on accelerations over time, potentially together with location data.

In some embodiments, in addition to or as an alternative to acceleration information, other data describing the vehicle may be obtained. For example, the collision detection facility may obtain data from a vehicle, such as from an ECU or OBD system of the vehicle. The obtained information may include, for example, speed at each of the times for which acceleration data was obtained. The obtained information may additionally or alternatively include messages generated by one or more components of the vehicle, such as information indicating a state of the component(s). The state information may include, for example, whether any of the components of the vehicle have generated a fault message and/or have changed a state, such as, for an air bag system, whether an air bag deployed. The data that is obtained from the vehicle may be information for the time period defined in block 1004.

In block 1008, the information that is obtained in block 1006 is analyzed with a trained classifier of the collision detection facility. As discussed above in connection with FIG. 1, the trained classifier may include multiple different classes that are associated with vehicle data for different scenarios, where the scenarios include whether a collision occurred and/or characteristics of collisions (e.g., severity, angle of impact, etc.).

Each class may be associated with data describing combinations of data (e.g., movement data or other data) that are associated with the scenario described by the class. For example, if a class is associated with a collision having occurred and with a collision that is a severe collision in which the vehicle was rear-ended by another, the class may be associated with characteristics of movement data and/or other data that define such a severe rear-end collision. This information may define the class and be used to determine whether new data (for a potential collision to be analyzed) fits any of the classes.

Each class may be defined by different movement data because each type of collision may be associated with different movements, which allows for differentiating collisions, and because normal vehicle operations (with no collision) may also be associated with movements that differ from movements associated with collisions, which allows for differentiating collisions from normal driving. For example, a straightforward rear-end collision may include movements that are primarily forward-backward movements. A collision in which the vehicle is struck broadside by another vehicle may, on the other hand, be associated with right-left movement data. If data is input for a potential collision, and that data includes primarily forward-backward movements and includes very little right-left movement, it may be more likely that the potential collision is a rear-end collision than that the potential collision is a broadside collision. Severe collisions may also demonstrate different movements than not-severe collisions, and not-collisions may demonstrate different movements than collisions. A comparison of data for a potential collision to data describing different classes of collisions may therefore allow for determining whether a collision occurred and/or for determining one or more characteristics of a collision.

Accordingly, when the data obtained by monitoring device 104A is analyzed with the trained classifier, the movement data and/or other data may be compared to each of the classes defined by the trained classifier. The collision detection facility may generate a probability indicating a level of match between each of one or more classes and the data. The probability for a class indicates a likelihood that the information associated with that class is an accurate description of the data. For example, for the example class above that is associated with a collision having occurred that is a severe rear-end collision, the input data may be compared to determine whether it matches the data for that class. If the collision actually was a severe rear-end collision, the input data may appear similar to the data for the class and a high probability of match may be generated. If, however, the input data is associated with a not-severe front-end collision, there may not be a high degree of match to the severe rear-end collision class and, accordingly, a low probability of match may be generated by the collision detection facility. In such a case, though, the trained classifier may have another class for a not-severe front-end collision, and there may be a high probability of match to that class. As a result, the collision detection facility may generate a probability of match between the input data and each of one or more classes maintained by the trained classifier.

These probabilities may be used to determine whether a collision occurred and/or characteristics of the collision. For example, a class that has a highest probability may be selected as the accurate answer, and the collision information for that class (whether a collision occurred and/or characteristics of such a collision) may be chosen as the likely correct descriptor of the collision. As another example, the probabilities may be compared to a threshold to determine whether any of the probabilities for any of the classes are above the threshold. If so, all of the classes for which a probability are above a threshold may be reported as potential matches for the potential collision, for a user to review each of the potential matches and the collision information for each of the potential matches. As another example, the probabilities may be compared to determine whether one or more of the probabilities differ from others by more than a threshold amount, such that one or more could be determined to be potential correct matches whereas others are, as compared to those one or more, less likely to be correct. Those one or more that stand out from the others may then be reported as potential matches for the potential collision, for a user to review each of the potential matches and the collision information for each of the potential matches. Embodiments are not limited to any particular manner of analyzing probabilities and selecting one or more potential correct matches from the probabilities.

Accordingly, by comparing the data obtained in block 1006 to the data defining the different classes/scenarios, the trained classifier can determine which of the classes is a likely match or best match for the data obtained in block 1006. The collision detection facility may therefore, in block 1008, determine one or more classes that are a likely or best match to the data obtained in block 1006.

In block 1010, based on the class(es) determined in block 1008, the collision detection facility determines whether the potential collision from block 1002 is likely to be or have been a collision. This may include determining whether the class that best matches the data obtained in block 1006 is a class associated with a collision, or whether any of the classes to which the obtained data is a good match is a class associated with a collision. This may alternatively include determining whether a probability of match to any class associated with a collision exceeds a threshold, or whether a probability of match to any class associated with no collision exceeds a threshold.

If it is determined in block 1010 that a collision is not likely, then in the embodiment of FIG. 10 the collision detection process may end, or return to block 1002 and continue monitoring acceleration over time or otherwise obtaining information regarding another potential collision.

If, however, the collision detection facility determines in block 1010 that a collision is likely to have occurred, then in block 1012 the collision detection facility triggers actions responding to the collision. This may include notifying an operator of a fleet of vehicles of which the vehicle is a member, notifying roadside assistance, notifying emergency services, attempting to contact a driver of the vehicle, or other actions discussed above. Once the actions are triggered, the collision detection facility may end the process 1000, or continue monitoring in block 1002, with either monitoring the vehicle that experienced the collision or monitoring other vehicles.

In some embodiments, the collision detection facility may evaluate a class identified as the most likely match for a potential collision for which data was received and analyzed by the collision detection facility. If the best match determined by the classifier indicates that a collision is unlikely to have occurred, the collision detection facility may not report the potential collision to the organization 100. If, however, the collision detection facility determines that a collision may have occurred, the facility may report the potential collision to the organization 100. In other embodiments, however, the collision detection facility may report to the organization 100 every potential collision it analyzes, but may report the potential collision to the organization 100 together with a value indicating a probability that the potential collision was a collision. A person at the organization 100 (or a vendor for the organization 100) reviewing the report may then analyze the likelihood that the potential collision was a collision and, based on the probability, determine whether and how to respond.

In one example described above of the implementation of block 1002, the time period is defined in block 1004 to be a time period surrounding a time at which a total acceleration exceeded a threshold, which is one example of a way in which information regarding a potential collision may be obtained. In some embodiments, the time at which a total acceleration exceeds a threshold may trigger an analysis of a time period before and after that time, to identify a maximum total acceleration in the time period. This time period may be the same or different than the length of the time period of block 1004. In some such embodiments, once the maximum total acceleration in the time period is determined, the time period of block 1004 is defined based on a time associated with that maximum total acceleration, and data is obtained in block 1006 for that time period.

The collision detection facility was described in connection with the examples of FIGS. 1, 2B and 10 as implementing machined learning techniques, using a trained classifier. It should be appreciated that embodiments are not limited to implementing the trained classifier or the machine learning techniques in any particular manner.

In some embodiments, the machine learning may be implemented using a k-Nearest Neighbor technique. k-Nearest Neighbor (short k-NN) is an example of instance-based learning. This means that the training data is being stored for comparison purposes. New data will be classified by taking a defined number of the closest training data into consideration. The k-NN algorithm is explained in the following example shown in FIG. 11A. The goal is to determine a classification of the “New” data point by considering how similar it is to its neighbors in the graph. The “New” data point is positioned in the graph at coordinates determined by one or more data values associated with the “New” data point. The “k” in the k-Nearest Neighbor algorithm refers to how many other data points are chosen for evaluation. Points are chosen for having a closest linear distance to the “New” data point in the graph. FIG. 11A shows two different options, one with k=3 and one with k=6. When three neighbors are considered, it is seen that two of the three are class “A” while only one is class “B,” and thus the “New” data point will be determined to be a member of class “A.” On the other hand, in the example where six neighbors are considered, only two of the six are class “A” while the other four are class “B.” As such, for the k=6 example, class “B” will be chosen for the “New” data point. k-NN is a good choice for a trained classifier for a small data set with few dimensions, because of its high reliability and computational simplicity in these situations.

In other embodiments, a Random Forest (RF) technique may be used. RF belongs to the machine learning category called “decision trees” and can be applied to classification tasks. Well-advanced trees which are the foundation of the RF. An RF model is trained by creating a decision tree that can represent most of the training data, by creating paths through the tree to labels reflected in the training data. The tree will then be evaluated for new input data and will output a predicted label at the end of the path. FIG. 11B shows a small decision tree with four branches for classifying specific flowers based on the sepal length and width of the flowers.

One advantage of decision trees is the ease of understanding the model. The predictor space is segmented in a number of simple regions which can be defined by splitting rules. Splitting rules are the basic element of decision trees. One drawback of decision trees, however, is a potentially poor accuracy and a high risk of overfitting the decision tree to the training data. “Overfitting” may occur when a very detailed tree is created with hundreds of nodes that works perfectly on the training data, but has poor results when applied to data not in the training set.

One modification of a standard decision tree algorithm is called “Bagging.” This method uses, instead of one decision tree, multiple decision trees. In some cases, hundreds of independent decision trees may be constructed by using a bootstrap sample of the dataset. To classify new input data, the data is processed using all or multiple of the trees and a majority vote is taken over the generated predictions. Bagging can be used for regression and classification tasks.

By adding even more randomness to Bagging, a Random Forest algorithm is implemented. In RF trees, each tree or each node is randomly taking several features of input data into consideration. The random feature selection creates independency around the trees compared to regular Bagging. Most times the algorithm obtains better results than Bagging, because of better variance and bias tradeoffs. Extremely randomized trees take this even further.

In other embodiments, the trained classifier may be advantageously defined using a neural network, such as a convolutional neural network (CNN). The inventors have recognized and appreciated that in some cases, a CNN may provide for higher reliability and accuracy than other machine learning techniques.

Neural networks are implemented as mathematical models that are viewed as something of a metaphor for or simulation of functions of neurons of an organic brain. Some neurons inside of a brain perform a simple task equivalent to outputting an electric signal when the input into the neuron exceeds a predetermined threshold. Warren McCulloch and Walter Pitts designed the first computational model in 1943 that simulated a neuron with the help of mathematics and a threshold logic for the activation. The basic structure of a neuron is displayed in the FIG. 11C. The inputs x1, x2, . . . , xn are multiplied with weights named w1, w2, . . . , wn. These are then added together with a bias node called b. This value is passed through an activation function. The type of function chosen depends on the use case and implemented layer. A reason to add a bias is for example to shift the activation function, in which case only higher x values would produce an output. The output can be represented as a value z with the following formula:

$z = {b + {\sum\limits_{i = 1}^{n}\;{w_{i}x_{i}}}}$

Neural network have multiple layers of connected neurons, which represent complex nonlinear relationships between inputs and outputs. An example structure of a neural network is displayed in FIG. 11D. The architecture of a fully connected neural network consists of an input layer, hidden layer and output layer. The number of neurons in each layer can be adjusted. Feed-forward neural networks are the simplest of its kind with information moving only in one direction. The movement starts from the input nodes, goes through the hidden layers and ends in the output nodes. By implementing multiple hidden layers the NNs are most common referred to as Deep Neural Networks (DNN). The example of FIG. 11D is a DNN.

The realization of such complex models is possible through strong computation power and a sufficient amount of data. Adjusting the parameters of the network influences the activation logic behind each neuron. While the network is being trained, the weights of each neuron are adjusted to meet a desired representation of the provided dataset. One training technique, called Gradient Descent (GD), works by finding a minimum of a cost function in an iterative manner. A learning rate is defined before and specifies the size each step will take to the minimum. This means that a large learning rate might end up causing a bouncing optimization while, on the other hand, a very small learning rate might take a long time to arrive at the desired representation. During learning, a change in the cost function is analyzed at each step. Once the cost function is not decreasing (or not decreasing substantially) and/or remains on the same level, it is determined that the problem has converged and the NN is trained.

Training Neural Networks can result in perfect representations of the provided training datasets which means bad accuracies for the test dataset. One possibility to prevent Neural Networks from overfitting is called dropout. This technique drops a defined number of neurons inside of the network. Dropout can be implemented at the last layer of the network or between every layer for example.

Another way of improving the network is to change activation functions. Each neuron can be influenced by different types of activation functions. One known example is the sigmoid function. The function's output is always between 0 and 1. The mathematical representation is the following:

${f(t)} = \frac{1}{1 + e^{- t}}$

In other layers it might be more advantageous to gain only values which are between −1 and 1. This activation function can be realized by the hyperbolic function tanh. It is represented by the following formula:

${\tanh\mspace{14mu}\tanh\mspace{14mu}(x)} = {\frac{2}{1 + e^{{- 2}x}} - 1}$

Saturating functions can result in optimization problems, as the gradient equals 0 at large and small x values. Non-saturated activation functions turn out to solve an exploding or vanishing gradient and accelerate the convergence speed. The Rectified Linear Unit, short ReLU, is another activation function. Its output remains 0 for all negative values and does not change for positive values. The ReLU function is represented by the following mathematical formula:

f(x)=max(0, x)

The early successes to solve new complex tasks cleared the way to develop new categories of Neural Networks. Compared to early Neural Networks, models available in 2018 are far more advanced and can substitute more and more work done by humans.

When time-series data is to be input to a Neural Network (such as in some embodiments described herein), this may present complexities in Neural Networks. Training simple NNs on time series data would be inefficient, because the network would adjust its parameters on values given to particular time steps. Instead it is more efficient for the network to look for patterns in the structure of the data represented. Taking this into consideration, one specific type of Neural Network may be an advantageous option in some embodiments.

Convolutional Neural Networks (CNNs) are a subclass of Neural Networks. With the amount of collected data in some scenarios (e.g., for image recognition), a Neural Network can get very complex and hard to train. CNNs can produce very close accuracies and use less connections as well as parameters. This makes them very powerful and easier to train.

The main difference between a CNN and a standard NN is that the sum presented in the neural formula for the NN is substituted by a convolutional operation. These layers are called convolutional layers. Furthermore, CNNs often have layers that reduce the resolution of the data, referred to as pooling layers. The architecture of the network is separated into at least convolutional layers, pooling layers, and an output layer.

Convolutional layers determine which inputs are fed into each neuron, potentially with the help of filters applying filter parameters. These filters can be constructed using different sizes, defined by a kernel variable. The purpose of a filter is to evaluate data and multiply each filter parameter with a respective value in the input, which may be considered akin to element-by-element multiplication of matrices.

The filter will typically create exactly one output for each portion of input data. The manner in which the filter evaluates the input data can be defined by changing the “stride value.” A stride of 1 would mean the filter moves one data value at a time. The result of all operations creates new data having a same data size as the input data. One example filter with the dimensions 3×3 is shown in FIG. 11E. The parameters inside the filters are randomly chosen before training the network.

FIG. 11F represents an input data having dimensions of 32×32×3. The input data has data dimensions of 32×32×3. The filter is defined with dimensions of 5×5×3, and is displayed in FIG. 11F in the middle of the input data. The filter convolves over the image with defined steps, called strides, to process each grouping of input data with the filter. Since in this case the filter only moves one step at a time, the stride is equal to one. The output will be of size 28×28 times the number of filters used. In this example, 5 filters are used. Therefore, the output would be 28×28×5. In this first layer, each filter would include 76 parameters, resulting from the size 5*5*3 dimensions and one bias parameter. This adds up to a total of 380 parameters used across five filters. Training the network would mean changing the values of the 380 parameters in a way that the network could better differentiate the different labeled data.

The output of each neuron in CNNs may depend also on the type of activation function used. The activation function tanh, discussed above, is converges much more slowly during training, because of the saturating nonlinearity. ReLUs may show faster training. As a result, it may be advantageous to use ReLUs as the activation function in some or all layers, or in some embodiments in all layers except the last layer.

Convolutional layers are often followed by pooling layers, which decrease the resolution of the data. One example is shown in FIG. 11G, with pooling layer performing a reduction from 2×2 values to only one value, to reduce overall data from dimensions of 4×4 to dimensions of 3×3. This is done by choosing the maximum value of the 4 values identified by a pooler. Other pooling techniques take the average of all values for reduction. This pattern of convolutional layers and a followed pooling layer may be repeated several times in architectures of some embodiments.

The last layer, called output layer, will flatten the data and use each data value as an input for a fully-connected neural network layer, which is a common layer of a NN, as discussed above. A SoftMax activation function may be used to make sure that, for a classification problem, the different prediction likelihoods for different classes sum to 1. The mathematical representation of this method is represented by the following formula:

${\sigma(z)}_{j} = \frac{e^{z_{j}}}{\sum\limits_{k = 1}^{m}\; e^{z_{k}}}$

FIG. 11H shows an example of a CNN architecture with two convolutional layers and two pooling layers.

For training a CNN, one technique called mini-batch stochastic gradient descent may be used. The method can be described in 4 steps that are sequenced in each iteration:

-   -   1) Take a sample of data, defined as batch     -   2) Forward propagate the input through the network to receive         the loss     -   3) Use backpropagation to calculate the gradient     -   4) Update the parameters by a defined learning rate using the         gradient

This procedure is repeated for all batches. Epochs that were also defined before set the amount of training the Neural Network may also be used to successively train the network on the input data, with an epoch being a complete pass of all the training data through the CNN. In particular, in each iteration of an epoch, a number of samples of training data equal to a batch size are processed. An epoch may include multiple iterations, to process all of the training data during the epoch. By training the neural network in multiple epochs, the training data may be input to the neural network multiple times.

In some embodiments operating in accordance with techniques described herein, a CNN may be trained (e.g., using Gradient Descent or another technique) to identify different classes of vehicle data, associated with whether a collision occurred and/or with different characteristics of collisions (e.g., severity, angle of impact, etc.). In some such embodiments, a batch size of 150 may be chosen, and the CNN may be trained over 200 epochs. The CNN of some embodiments may include an input layer followed by four sets of layers, where each set includes two convolutional layers followed by a pooling layer that reduces the data dimensions by two and a dropout of 25% to mitigate risk of overfitting, and a fully-connected output layer that flattens and combines all dimensions with a SoftMax function to ensure the likelihoods for the set of classes/predictions sum to 1.

CNNs are mostly used in image classification problems. Such networks are configured for use with data (e.g., image pixels) with defined positions. Transferring this thinking to a time series, the time series has also values that happen to a certain point in time. This can create a requirement, though, that the time series be uniformly sampled, to have fixed positions in time. In some embodiments, input data may include a time series with five dimensions (acceleration in x, y, z; magnitude of total acceleration; and speed) which each have values for every 10 ms over a time frame of 20 seconds. The CNN may be trained with this data to find patterns automatically, which can be used to classify other data.

When implementing the convolution, it is possible to convolve over the time series with a one-dimensional filter that will create another time series. In some embodiments, the filter may be chosen to have a kernel size of 5. This means that the filter will consider five steps, which is equal to 50 ms over the time series. Since the input data has five channels (the acceleration in x, y, z; the magnitude; and speed), the filter of this example will be of size 5×5. That means every filter contains 25 parameters, which may be initialized with a random number and change through the training process. One formula to calculate the number of parameters per layer may be the following:

total_params_per_layer=(filter_width*channels+1)*number_of_filters

The number one that is added inside of the bracket represents a bias that is included in every neuron.

The process of convolving over the time series is described in FIG. 11I for the first convolutional layer. The filter that starts from the left with the size 5×5 is doing an elementwise multiplication and writes the result into the next time series below. With a padding defined as same, the size of the time series that is created will be equal to the original one. This is done by adding zeros to the end of the time series and convolving over these as well. By using 18 filters the resulting output will be a time series of 2,000 steps with 18 channels.

The number of filters chosen will determine the number of new channels for the input of the next layer. In some embodiments, 18 filters may be chosen for the first layer. This means the second convolutional layer will take a time series as input which consists of 18 dimensions. Using another kernel size of 5 will create a new filter which has dimensions 5×18. For this filter 90 parameters are trained for each filter.

As discussed above, in some embodiments the CNN architecture may include four parts, in which each has a one-dimensional convolutional layer followed by another one-dimensional convolutional layer without decreasing the step size and, after these two layers, a pooling layer that decreases the step size by two and addition of a dropout of 25% that prevents the network from overfitting. These four parts are connected in sequence and feed into a fully connected layer combines all dimensions and a SoftMax returns three predictions for the three defined classes.

FIG. 12 illustrates one or more techniques that may be implemented in some embodiments to train a neural network (e.g., a CNN) to implement a classifier that may be used by a collision detection facility, in accordance with techniques described herein.

The process 1200 of FIG. 12 may be performed during a configuration phase, in which a collision detection facility is configured prior to use such as in the processes 250 of FIG. 2B and 1000 of FIG. 10. The configuration may be performed by an administrator, such as a human administrator, setting up the collision detection system for the subsequent use.

The process 1200 of FIG. 12 begins in block 1202, in which data describing vehicles moving in normal movements and/or data describing vehicles engaged in collisions is obtained. Data describing normal movements may be used to train a classifier to recognize data that is associated with movements that are not collisions, to define one or more classes associated with normal driving or otherwise not-collisions. Data describing vehicles engaged in collisions may be used to train the classifier to recognize data that is associated with collisions or with different types of collisions, such as with collisions of different severities or collisions with different impact angles. The data that is obtained in block 1202 may include acceleration data or other movements of movement data described above (magnitude of total acceleration, speed), or other data describing a vehicle (e.g., ECU or OBD data). The data that is obtained may be for a time period that matches the time period used by the collision detection facility (e.g., that was defined in block 1004 of FIG. 10, or block 254 of FIG. 2B).

The data obtained in block 1200 may not be labeled or curated data, and may not be arranged in a way that a classifier could be clearly trained on. For example, the data may be mixed together, with data for different scenarios not labeled or differentiated. To train the classifier, it may be helpful to at least differentiate and train the data, as there may be some advantages to supervised or semi-supervised training rather than relying solely on unsupervised learning.

Accordingly, in block 1202, the data describing vehicles engaged in collisions may be separated out in block 1204, such that data associated with different collision scenarios is separated. This process may be manual or automatic, depending on what data is available as a basis to for which to conduct a differentiating. Data associated with not-collisions may not be differentiated in some embodiments, resulting in one class being trained that has features for all different types of normal movements. In other embodiments, though, different classes of not-collisions may be defined to aid in more reliably identifying not-collisions.

Once the data is separated in block 1204, in block 1206 the different categories of collisions or other information may be labeled with whether they reflect a collision or characteristics of the type of collision they reflect (e.g., severity, angle of impact). In block 1208, the labeled data may then be separated into clusters by a machine learning engine and features identified with each cluster identified by the machine learning engine, to define the clusters and define the classes. It is these features that will then be used to subsequently match data for a potential collision to a class, by looking for a potential match between the data. To repeat an example from above, a straightforward rear-end collision may include movements that are primarily forward-backward movements, while a collision in which the vehicle is struck broadside by another vehicle may be associated with primarily right-left movement data. The trained classifier may, based on the labeled data from block 1206, draw these same conclusions by observing that the rear-end collision is associated largely with forward-backward movement data while a broadside collision is largely associated with right-left data.

Based on these learned parameters of each of the clusters, a trained classifier is created that includes each of the classes defined from the clusters. The trained classifier may then be used by a collision detection facility, such as in the manner described above.

While not discussed above in connection with FIG. 12, it should be appreciated that it would be advantageous if, when movement data is obtained in block 402 that is for a time period, the data would include samples generated at the same time scale (e.g., same interval), and over the same period of time, as the data that will be collected by a collision detection facility for a potential collision. Including the data for the same length of time period and for the same interval may ease classification of the data input for a potential collision, as the input data will be temporally aligned with the training of the classifier. In some embodiments, the time period may be 20 seconds and the sampling rate for the movement data may be 10 ms, meaning there are 100 samples per second.

In some cases, the data that is obtained in block 1202 to be used in training a system may not be aligned in this manner with the data that will be collected by a collision detection facility. For example, the data may be for a shorter or longer time period, or may include samples generated at a different interval. The movement data may therefore be prepared for training in some embodiments, by generating data for the same time period and at the same interval. If in the input data is for a longer time period, the data may be truncated to match the desired time period length. If the time period is shorter, additional data may be generated by interpolating the available data. As another example, if the input data includes samples at a different interval than the data will later be collected by a collision detection facility, such as a slower or faster sampling rate, the input data will be sampled and/or interpolated to generate data at the desired time intervals and for the desired time period. For example, data points in the input data that are adjacent to a time at which a data point is desired (for a time that aligns with the desired sampling rate) will be interpolated to generate the desired data point.

In some embodiments, Dynamic Time Warping (DTW) is used to process input time series data and prepare it for analysis using the trained classifier.

In some embodiments, the magnitudes of input data points may also be normalized based on the scale of input training data, to yield values that are on a similar scale.

In this manner, a classifier can be trained based on collision data to generate information on whether a collision has occurred and, if so, one or more characteristics of that collision.

FIGS. 13A-13E illustrate examples of data with which some embodiments may operate, as an example of how techniques described herein may be implemented in some embodiments.

FIGS. 13A-13C illustrate examples of graphs of movement data that may be used to train a classifier or that may be compared to a trained classifier to determine whether a collision occurred and/or to characterize the collision. The example of FIG. 13A is associated with collisions in which a vehicle is rear-ended or hits an object (e.g., another vehicle, or an obstacle) straight on with its front end. These are forward-backward collisions. The graph of FIG. 13A includes lines for accelerations in x (forward-backward), y (right-left), and z (up-down) directions for the vehicle, as well as a magnitude of total acceleration at a time (“vec”), and a speed v. The x-axis of this graph is a time period for a collision, such as the time period discussed above in connection with block 1004 of FIG. 10 or 254 of FIG. 2B, with the time between each point representing the sampling interval. As can be seen from the graphs of the x, y, and z accelerations, the collision included little y (right-left) or z (up-down) acceleration and instead largely consists of negative acceleration (deceleration) in the x direction (forward-backward). This is because, in a typical forward-backward collision like a rear-ending, most of the acceleration change is in the forward-backward direction. The classifier may learn that pattern and subsequently identify situations in which the change in acceleration is largely in the x direction as forward-backward collisions like a rear-ending.

FIG. 13B illustrates an example of a graph in which a vehicle was struck from an angle, not forward-backward. The graph of FIG. 13B includes the same lines for the same variables as the graph of FIG. 13A. The graph of FIG. 13B demonstrates that in angled collisions, there is change in acceleration in both the x direction (forward-backward) and the y direction (right-left), though little change in the z direction (up-down).

FIG. 13C illustrates an example of a graph in which a vehicle, as part of a collision, left the road. The graph of FIG. 13C includes the same lines for the same variables as the graphs of FIGS. 13A and 13B. As can be seen in the graph of FIG. 13C, when the vehicle leaves the road, there may be substantial changes not only in the x and y directions, but also in the z direction (up-down). In each of these lines, there is substantial change over time, showing that the vehicle moved quite a bit as part of this accident.

Data for different forms of collisions is illustrated in FIG. 13D, formatted as a scatterplot based on the x and y accelerations with color of the dot indicating accident type and size of the dot indicating speed. A collection of bright blue dots is spread throughout the middle of the graph, cluster in a band around the 0 value on the y-axis but spread throughout the x axis. These are dots associated with different forward-backward collisions, confirming again that a forward-backward collision has little change in the y direction (right-left). The green dots, however, show varying values for change in the y direction (right-left) and are all associated with negative change (deceleration) in the x direction (forward-backward). These are points associated with angled impacts, where there is substantial change in the right-left direction and the vehicle slows down substantially in the forward-backward direction.

As discussed above, attempting to detect or characterize a collision using only acceleration data from a single point during an accident is unreliable. Using techniques described herein, which obtain longitudinal movement information for a time period surrounding an event associated with a potential collision, or other information obtained for a vehicle for that time period, may be highly reliable. FIG. 13E shows a chart demonstrating this high reliability, with low false positions or false negatives. In the chart, a “1” category is not a collision, a “2” category is a forward-backward collision, and a “3” category is an angled impact collision. The graph shows the predictions generated by a system trained using the data of FIG. 13D, compared with the actual scenario. As shown by the chart, the trained classifier will accurately determine, in 98.7% of cases, that no collision occurred when there was, in reality, no collision. The classifier never identifies data related to a not-collision as reflecting an angled-impact collision, and only 1.3% of the time, incorrectly identifies the not-collision as being a forward-backward collision. Similarly, the trained classifier properly identifies, in 95.6% of cases, that a forward-backward collision is a forward-backward collision, with the remaining cases limited to misidentifying the scenario as a not-collision. Lastly, the trained classifier correctly concludes, in 98.2% of cases, that an angled-impact collision is an angled-impact collision, with the misidentifications evenly spread, in less than 1% of cases, between not-collisions and forward-backward collisions.

Accordingly, the trained system is highly reliable in determining whether a collision occurred and, if so, in characterizing an angle of impact of the collision. The collision detection facility of some embodiments described herein can therefore be reliably used to determine whether a collision has occurred and, if so, characteristics of the collision, to determine an appropriate response to the collision.

Techniques operating according to the principles described herein may be implemented in any suitable manner. Included in the discussion above are a series of flow charts showing the steps and acts of various processes that determine whether a collision occurred and/or, if so, to characterize a collision. The processing and decision blocks of the flow charts above represent steps and acts that may be included in algorithms that carry out these various processes. Algorithms derived from these processes may be implemented as software integrated with and directing the operation of one or more single- or multi-purpose processors, may be implemented as functionally-equivalent circuits such as a Digital Signal Processing (DSP) circuit or an Application-Specific Integrated Circuit (ASIC), or may be implemented in any other suitable manner. It should be appreciated that the flow charts included herein do not depict the syntax or operation of any particular circuit or of any particular programming language or type of programming language. Rather, the flow charts illustrate the functional information one skilled in the art may use to fabricate circuits or to implement computer software algorithms to perform the processing of a particular apparatus carrying out the types of techniques described herein. It should also be appreciated that, unless otherwise indicated herein, the particular sequence of steps and/or acts described in each flow chart is merely illustrative of the algorithms that may be implemented and can be varied in implementations and embodiments of the principles described herein.

Accordingly, in some embodiments, the techniques described herein may be embodied in computer-executable instructions implemented as software, including as application software, system software, firmware, middleware, embedded code, or any other suitable type of computer code. Such computer-executable instructions may be written using any of a number of suitable programming languages and/or programming or scripting tools, and also may be compiled as executable machine language code or intermediate code that is executed on a framework or virtual machine.

When techniques described herein are embodied as computer-executable instructions, these computer-executable instructions may be implemented in any suitable manner, including as a number of functional facilities, each providing one or more operations to complete execution of algorithms operating according to these techniques. A “functional facility,” however instantiated, is a structural component of a computer system that, when integrated with and executed by one or more computers, causes the one or more computers to perform a specific operational role. A functional facility may be a portion of or an entire software element. For example, a functional facility may be implemented as a function of a process, or as a discrete process, or as any other suitable unit of processing. If techniques described herein are implemented as multiple functional facilities, each functional facility may be implemented in its own way; all need not be implemented the same way. Additionally, these functional facilities may be executed in parallel and/or serially, as appropriate, and may pass information between one another using a shared memory on the computer(s) on which they are executing, using a message passing protocol, or in any other suitable way.

Generally, functional facilities include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. Typically, the functionality of the functional facilities may be combined or distributed as desired in the systems in which they operate. In some implementations, one or more functional facilities carrying out techniques herein may together form a complete software package. These functional facilities may, in alternative embodiments, be adapted to interact with other, unrelated functional facilities and/or processes, to implement a software program application

Some exemplary functional facilities have been described herein for carrying out one or more tasks. It should be appreciated, though, that the functional facilities and division of tasks described is merely illustrative of the type of functional facilities that may implement the exemplary techniques described herein, and that embodiments are not limited to being implemented in any specific number, division, or type of functional facilities. In some implementations, all functionality may be implemented in a single functional facility. It should also be appreciated that, in some implementations, some of the functional facilities described herein may be implemented together with or separately from others (i.e., as a single unit or separate units), or some of these functional facilities may not be implemented.

Computer-executable instructions implementing the techniques described herein (when implemented as one or more functional facilities or in any other manner) may, in some embodiments, be encoded on one or more computer-readable media to provide functionality to the media. Computer-readable media include magnetic media such as a hard disk drive, optical media such as a Compact Disk (CD) or a Digital Versatile Disk (DVD), a persistent or non-persistent solid-state memory (e.g., Flash memory, Magnetic RAM, etc.), or any other suitable storage media. Such a computer-readable medium may be implemented in any suitable manner, including as computer-readable storage media 1406 of FIG. 14 described below (i.e., as a portion of a computing device 1400) or as a stand-alone, separate storage medium. As used herein, “computer-readable media” (also called “computer-readable storage media”) refers to tangible storage media. Tangible storage media are non-transitory and have at least one physical, structural component. In a “computer-readable medium,” as used herein, at least one physical, structural component has at least one physical property that may be altered in some way during a process of creating the medium with embedded information, a process of recording information thereon, or any other process of encoding the medium with information. For example, a magnetization state of a portion of a physical structure of a computer-readable medium may be altered during a recording process.

In some, but not all, implementations in which the techniques may be embodied as computer-executable instructions, these instructions may be executed on one or more suitable computing device(s) operating in any suitable computer system, including the exemplary computer system of FIG. 1, or one or more computing devices (or one or more processors of one or more computing devices) may be programmed to execute the computer-executable instructions. A computing device or processor may be programmed to execute instructions when the instructions are stored in a manner accessible to the computing device or processor, such as in a data store (e.g., an on-chip cache or instruction register, a computer-readable storage medium accessible via a bus, a computer-readable storage medium accessible via one or more networks and accessible by the device/processor, etc.). Functional facilities comprising these computer-executable instructions may be integrated with and direct the operation of a single multi-purpose programmable digital computing device, a coordinated system of two or more multi-purpose computing device sharing processing power and jointly carrying out the techniques described herein, a single computing device or coordinated system of computing devices (co-located or geographically distributed) dedicated to executing the techniques described herein, one or more Field-Programmable Gate Arrays (FPGAs) for carrying out the techniques described herein, or any other suitable system.

FIG. 14 illustrates one exemplary implementation of a computing device in the form of a computing device 1400 that may be used in a system implementing techniques described in FIGS. 1-13E, although others are possible. It should be appreciated that FIG. 14 is intended neither to be a depiction of necessary components for a computing device to operate a collision detection facility in accordance with the principles described herein, nor a comprehensive depiction.

Computing device 1400 may comprise at least one processor 1402, a network adapter 1404, and computer-readable storage media 1406. Computing device 1400 may be, for example, a desktop or laptop personal computer, a personal digital assistant (PDA), a smart mobile phone, a server, or any other suitable computing device. Network adapter 1404 may be any suitable hardware and/or software to enable the computing device 1400 to communicate wired and/or wirelessly with any other suitable computing device over any suitable computing network. The computing network may include wireless access points, switches, routers, gateways, and/or other networking equipment as well as any suitable wired and/or wireless communication medium or media for exchanging data between two or more computers, including the Internet. Computer-readable media 1406 may be adapted to store data to be processed and/or instructions to be executed by processor 1402. Processor 1402 enables processing of data and execution of instructions. The data and instructions may be stored on the computer-readable storage media 1406.

The data and instructions stored on computer-readable storage media 1406 may comprise computer-executable instructions implementing techniques which operate according to the principles described herein. In the example of FIG. 14, computer-readable storage media 1406 stores computer-executable instructions implementing various facilities and storing various information as described above. Computer-readable storage media 1406 may store a collision detection facility 1408, a trained classifier 1410 for the facility 1408 (including definitions of classes for the classifier), and data 1412 that includes vehicle data, collision data, driver behavior data, which may be collected for a potential collision and analyzed by the collision detection facility 1408 and/or used to train the classifier 1410 for subsequent use in analyzing data regarding a potential collision.

While not illustrated in FIG. 14, a computing device may additionally have one or more components and peripherals, including input and output devices. These devices can be used, among other things, to present a user interface. Examples of output devices that can be used to provide a user interface include printers or display screens for visual presentation of output and speakers or other sound generating devices for audible presentation of output. Examples of input devices that can be used for a user interface include keyboards, and pointing devices, such as mice, touch pads, and digitizing tablets. As another example, a computing device may receive input information through speech recognition or in other audible format.

Embodiments have been described where the techniques are implemented in circuitry and/or computer-executable instructions. It should be appreciated that some embodiments may be in the form of a method, of which at least one example has been provided. The acts performed as part of the method may be ordered in any suitable way. Accordingly, embodiments may be constructed in which acts are performed in an order different than illustrated, which may include performing some acts simultaneously, even though shown as sequential acts in illustrative embodiments.

Various aspects of the embodiments described above may be used alone, in combination, or in a variety of arrangements not specifically discussed in the embodiments described in the foregoing and is therefore not limited in its application to the details and arrangement of components set forth in the foregoing description or illustrated in the drawings. For example, aspects described in one embodiment may be combined in any manner with aspects described in other embodiments.

Use of ordinal terms such as “first,” “second,” “third,” etc., in the claims to modify a claim element does not by itself connote any priority, precedence, or order of one claim element over another or the temporal order in which acts of a method are performed, but are used merely as labels to distinguish one claim element having a certain name from another element having a same name (but for use of the ordinal term) to distinguish the claim elements.

Also, the phraseology and terminology used herein is for the purpose of description and should not be regarded as limiting. The use of “including,” “comprising,” “having,” “containing,” “involving,” and variations thereof herein, is meant to encompass the items listed thereafter and equivalents thereof as well as additional items.

The word “exemplary” is used herein to mean serving as an example, instance, or illustration. Any embodiment, implementation, process, feature, etc. described herein as exemplary should therefore be understood to be an illustrative example and should not be understood to be a preferred or advantageous example unless otherwise indicated.

Having thus described several aspects of at least one embodiment, it is to be appreciated that various alterations, modifications, and improvements will readily occur to those skilled in the art. Such alterations, modifications, and improvements are intended to be part of this disclosure, and are intended to be within the spirit and scope of the principles described herein. Accordingly, the foregoing description and drawings are by way of example only. 

What is claimed is:
 1. A system comprising: at least one processor; and at least one storage medium containing program instructions that, when executed by the processor, cause the at least one processor to carry out a method comprising: in response to obtaining information regarding a potential collision between a vehicle and an object: obtaining, for a time period extending before and after a time of the potential collision, data describing the vehicle during the time period; determining, based at least in part on the data describing the vehicle during the time period, a likelihood that the potential collision is a non-collision event; and in response to determining that the likelihood indicates that the potential collision is not a non-collision event: triggering one or more actions responding to the potential collision.
 2. The system of claim 1, wherein the method further comprises: in response to determining that the likelihood indicates that the potential collision is not a non-collision event: classifying, using at least one trained classifier, the data describing the vehicle into at least one of a plurality of classes, each class of the plurality of classes being associated whether the potential collision is a collision; and in response to the data describing the vehicle being classified into a class indicating that the potential collision is likely to be a collision, triggering the one or more actions responding to the potential collision
 3. The system of claim 1, wherein the method further comprises: detecting the potential collision between the vehicle and the object by identifying that the vehicle has experienced at least one acceleration that meets at least one criterion.
 4. The system of claim 3, wherein identifying that the vehicle has experienced at least one acceleration that meets at least one criterion comprises determining that the acceleration of the vehicle at the time has a value larger than a threshold.
 5. The system of claim 1, wherein: obtaining the information regarding the potential collision comprises receiving information from a telematics monitor of the vehicle; and determining, based at least in part on the data describing the vehicle during the time period, the likelihood that the potential collision is a non-collision event comprises: determining, based at least in part on sensor data from the telematics monitor, whether the telematics monitor is operating improperly; and in response to determining that the telematics monitor of the vehicle is operating improperly, determining that the potential collision is not a collision.
 6. The system of claim 5, wherein determining whether the telematics monitor is operating improperly comprises: determining a number of triggers the telematics monitor has generated during a time length; and determining the telematics monitor is operating improperly if the number of triggers the telematics monitor has generated during the time length exceeds a threshold.
 7. The system of claim 1, wherein determining, based at least in part on the data describing the vehicle during the time period, the likelihood that the potential collision is a non-collision event comprises: determining at least in part, that a location of the vehicle at a time of the potential collision matches a road surface feature prone to causing acceleration events.
 8. The system of claim 7, wherein determining, based at least in part on the data describing the vehicle during the time period, the likelihood that the potential collision is a non-collision event further comprises: in response to determining that the location of the vehicle at the time of the potential collision matches a road surface feature prone to causing acceleration events, determining whether the potential collision is associated with the vehicle traversing the road surface feature by determining whether the acceleration data for the vehicle during the time period matches an acceleration signal that would be produced by the vehicle striking the road surface feature at the location of the vehicle at the time of the potential collision.
 9. The system of claim 1, wherein the method further comprises obtaining additional data describing the vehicle during a second time period from before and to after the potential collision, and wherein determining, based at least in part on the data describing the vehicle during the time period, the likelihood that the potential collision is a non-collision event further comprises: analyzing the additional data to determine whether the behavior of the driver does not match any behavior prone to causing a collision; in response to determining that the behavior of the driver does not match any behavior prone to causing a collision, determining that the potential collision is likely a non-collision event.
 10. The system of claim 9, wherein the second time period is longer than the time period.
 11. The system of claim 1, wherein the method further comprises, before obtaining, for a time period extending before and after a time of the potential collision, data describing the vehicle during the time period: determining a second potential collision within the time period; merging the second potential collision to the first potential collision; updating the time period to extend before the time of the first potential collision and after the time of the second potential collision; and obtaining data describing the vehicle during the updated time period in place of obtaining data during the time period.
 12. The system of claim 1, wherein the data describing the vehicle include an engine fault code of the vehicle.
 13. The system of claim 1, wherein determining the likelihood that the potential collision is a non-collision event is based on one or more conditions comprising: whether the vehicle experienced a pull-over around a time the potential collision; whether the vehicle experienced a speed reduction around the time of the potential collision; whether a Global Positioning System (GPS) for the vehicle around the time of the potential collision is unreliable; whether an acceleration context linked to collision existed around the time of the potential collision; or whether the vehicle experienced a stop around the time of the potential in a travel lane at which vehicles do not customarily stop.
 14. The system of claim 13, wherein determining the likelihood that the potential collision is a non-collision event comprises: generating a collision score based on the one or more conditions; and determining the potential collision is likely a non-collision event if the collision score is below a threshold.
 15. At least one non-transitory computer-readable storage medium containing program instructions that, when executed by at least one processor, will cause the at least one processor to carry out a method comprising: in response to obtaining information regarding a potential collision between a vehicle and an object: obtaining, for a time period extending before and after a time of the potential collision, data describing the vehicle during the time period; determining, based at least in part on the data describing the vehicle during the time period, a likelihood that the potential collision is a non-collision event; and in response to determining that the likelihood indicates that the potential collision is not a non-collision event: triggering one or more actions responding to the potential collision.
 16. The at least one non-transitory computer-readable storage medium of claim 15, wherein the method further comprising: in response to determining that the likelihood indicates that the potential collision is not a non-collision event: classifying, using at least one trained classifier, the data describing the vehicle into at least one of a plurality of classes, each class of the plurality of classes being associated whether the potential collision is a collision; and in response to the data describing the vehicle being classified into a class indicating that the potential collision is likely to be a collision, triggering the one or more actions responding to the potential collision.
 17. The at least one non-transitory computer-readable storage medium of claim 15, wherein the method further comprises: detecting the potential collision between the vehicle and the object by identifying that the vehicle has experienced at least one acceleration that meets at least one criterion.
 18. The at least one non-transitory computer-readable storage medium of claim 17, wherein identifying that the vehicle has experienced at least one acceleration that meets at least one criterion comprises determining that the acceleration of the vehicle at the time has a value larger than a threshold.
 19. The at least one non-transitory computer-readable storage medium of claim 15, wherein: obtaining the information regarding the potential collision comprises receiving information from a telematics monitor of the vehicle; and determining, based at least in part on the data describing the vehicle during the time period, the likelihood that the potential collision is a non-collision event comprises: determining, based at least in part on sensor data from the telematics monitor, whether the telematics monitor is operating improperly; and in response to determining that the telematics monitor of the vehicle is operating improperly, determining that the potential collision is not a collision.
 20. The at least one non-transitory computer-readable storage medium of claim 19, wherein determining whether the telematics monitor is operating improperly comprises: determining a number of triggers the telematics monitor has generated during a time length; and determining the telematics monitor is operating improperly if the number of triggers the telematics monitor has generated during the time length exceeds a threshold.
 21. The at least one non-transitory computer-readable storage medium of claim 15, wherein determining, based at least in part on the data describing the vehicle during the time period, the likelihood that the potential collision is a non-collision event comprises: determining at least in part, that a location of the vehicle at a time of the potential collision matches a road surface feature prone to causing acceleration events.
 22. The at least one non-transitory computer-readable storage medium of claim 21, wherein determining, based at least in part on the data describing the vehicle during the time period, the likelihood that the potential collision is a non-collision event further comprises: in response to determining that the location of the vehicle at the time of the potential collision matches the road surface feature prone to causing acceleration events, determining whether the potential collision is associated with the vehicle traversing the road surface feature by determining whether the acceleration data for the vehicle during the time period matches an acceleration signal that would be produced by the vehicle striking the road surface feature at the location of the vehicle at the time of the potential collision.
 23. The at least one non-transitory computer-readable storage medium of claim 15, wherein the method further comprises obtaining additional data describing the vehicle during a second time period from before and to after the potential collision, and wherein determining, based at least in part on the data describing the vehicle during the time period, the likelihood that the potential collision is a non-collision event further comprises: analyzing the additional data to determine whether the behavior of the driver does not match any behavior prone to causing a collision; in response to determining that the behavior of the driver does not match any behavior prone to causing a collision, determining that the potential collision is likely a non-collision event.
 24. The at least one non-transitory computer-readable storage medium of claim 23, wherein the second time period is longer than the time period.
 25. The at least one non-transitory computer-readable storage medium of claim 15, wherein the method further comprises: determining a second potential collision within the time period; merging the second potential collision to the first potential collision; updating the time period to extend before the time of the first potential collision and after the time of the second potential collision; and obtaining data describing the vehicle during the updated time period in place of obtaining data during the time period.
 26. The at least one non-transitory computer-readable storage medium of claim 15, wherein the data describing the vehicle include an engine fault code of the vehicle.
 27. The at least one non-transitory computer-readable storage medium of claim 15, wherein determining the likelihood that the potential collision is a non-collision event is based on one or more conditions comprising: whether the vehicle experienced a pull-over around a time the potential collision; whether the vehicle experienced a speed reduction around the time of the potential collision; whether Global Positioning System (GPS) data for the vehicle around the time of the potential collision are unreliable; whether the acceleration context linked to collision existed around the time of the potential collision; or whether the vehicle experienced a stop around the time of the potential in a travel lane at which vehicles do not customarily stop.
 28. The at least one non-transitory computer-readable storage medium of claim 27, wherein determining the likelihood that the potential collision is a non-collision event comprises: generating a collision score based on the one or more conditions; and determining the potential collision is likely a non-collision event if the collision score is below a threshold. 